- Removed obsolete knowledge union.

This commit is contained in:
ccremers 2004-05-26 08:42:34 +00:00
parent 4d90395d7e
commit b0aba1cdc0

View File

@ -15,8 +15,6 @@ struct knowledge
//! A list of terms encrypted, such that the inverse is not in the knowledge set. //! A list of terms encrypted, such that the inverse is not in the knowledge set.
Termlist encrypt; Termlist encrypt;
Termlist inverses; Termlist inverses;
union
{
//! List of open variables in the knowledge set. //! List of open variables in the knowledge set.
/** /**
* This list is used to determine whether the knowledge needs to be rewritten. * This list is used to determine whether the knowledge needs to be rewritten.
@ -24,12 +22,6 @@ struct knowledge
* and we need to reconstruct the knowledge set. * and we need to reconstruct the knowledge set.
*/ */
Termlist vars; // special: denotes unsubstituted variables Termlist vars; // special: denotes unsubstituted variables
//! Next pointer.
/**
* Presumably obsolete.
*/
struct knowledge *next; // use for alternative memory management.
};
}; };
//! Shorthand for knowledge pointer. //! Shorthand for knowledge pointer.