Atom<T1, T2, T3>
A class in Root.Township, Alta.Intelligence.
A three-argument named symbol in the unused Prolog-like logic engine, with typed Define overloads.
- Listed in Creatures and AI
- Inherits or implements
BaseAtom
Constructors
| Member | What it is |
|---|---|
Atom(string name) | Creates an Atom from name. |
Methods
| Member | What it is |
|---|---|
BaseAtom.Definition Define(T1 term1, T2 term2, T3 term3, float weighting = 1) | Makes a definition with three terms, an optional goal (default True) and weighting (default 1). |
BaseAtom.Definition Define(T1 term1, T2 term2, T3 term3, Predicate goal, float weighting = 1) | Makes a definition with three terms, an optional goal (default True) and weighting (default 1). |
static Atom<T1, T2, T3> op_Implicit(string name) | Lets a string be used as an atom of that name. |