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.
- Listed in Creatures and AI
- Inherits or implements
BaseAtom - Derived types
DataAtom<T>
Constructors
| Member | What it is |
|---|---|
Atom(string name) | Creates an Atom from name. |
Methods
| Member | What 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. |