Skip to main content

Atom

A class in Root.Township, Alta.Intelligence.

A named symbol in the unused Prolog-like logic engine. Define turns it into a fact or rule that a KnowledgeHolder can be told about.

Constructors​

MemberWhat it is
Atom(string name)Creates an Atom from name.

Methods​

MemberWhat it is
BaseAtom.Definition Define(ITerm[] terms, Predicate goal)Makes a definition of this atom with the given terms, an optional goal (default True) and weighting (default 1).
BaseAtom.Definition Define(params ITerm[] terms)Makes a definition of this atom with the given terms, an optional goal (default True) and weighting (default 1).
BaseAtom.Definition Define(float weighting, params ITerm[] terms)Makes a definition of this atom with the given terms, an optional goal (default True) and weighting (default 1).
BaseAtom.Definition Define(float weighting, ITerm[] terms, Predicate goal)Makes a definition of this atom with the given terms, an optional goal (default True) and weighting (default 1).
static Atom op_Implicit(string name)Lets a string be used as an Atom of that name.