Skip to main content

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.

Constructors​

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

Methods​

MemberWhat 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&lt;T>: