Skip to main content

True

A class in Root.Township, Alta.Intelligence.

The always-true goal in the unused Prolog-like logic engine. A definition with no goal uses it, making it a plain fact.

Constructors​

MemberWhat it is
True()Creates a True with default values.

Methods​

MemberWhat it is
override string ToString()Returns "True".
protected override IEnumerable<Result> EvaluateInternal(KnowledgeHolder knowledgeHolder) (iterator)Yields a single empty result with weighting 1.
protected override Predicate FromCompoundPart(CompoundPart compoundPart)Returns a new True.