Skip to main content

ITerm

An interface in Root.Township, Alta.Intelligence.

A term in the small Prolog-style logic engine in Alta.Intelligence (atoms, variables, compounds). Probably not used by the shipped creatures; nothing outside that namespace uses it.

Methods​

MemberWhat it is
ITerm CheckBind(Dictionary<ITerm, ITerm> bindings)Returns the term with any bound variables replaced from the given bindings.
void ConstantInitialize(IAtomDefinition definion)Called when a definition is created, so variables know which definition they belong to.
bool Contains(ITerm other)Whether this term is or contains the other term.

Used in​

Members of other types that take, return or hold a ITerm: