Atom<T>
A class in Root.Township, Alta.Intelligence.
A named atom in the AI knowledge system that takes one typed term. Other versions take zero to four terms.
- 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(T term, float weighting = 1) | Makes a Definition that tests this atom with the given term, an optional goal predicate (default true) and a weighting. |
BaseAtom.Definition Define(T term, Predicate goal, float weighting = 1) | Makes a Definition that tests this atom with the given term, an optional goal predicate (default true) and a weighting. |
static Atom<T> op_Implicit(string name) | Lets a string be used as an atom of this type, creating one with that name. |
Used in
Members of other types that take, return or hold a Atom<T>: