Basic elements - GetcuReone/FactFactory GitHub Wiki

Basic elements

Fact

A fact is some information about something. Central to the entire library. This is exactly what you will be using the entire tool for.

  • any fact in the library must inherit from interface IFact
  • FactBase - default implementation.

FactType

Information about the type of fact. This element is key for building a decision tree.

  • any fact type in the library must inherit from interface IFactType
  • FactType - default implementation.

FactRule

An instruction that contains information about “how to calculate a fact”, “which fact can be calculated” and “with the help of which facts can be calculated”.

FactRuleCollection

Collection of rules. The main task of this element is to "keep track of the uniqueness of the rules in the collection".

WantAction

Instructions that contain information about "what facts you need" and "how to give them to you".

TreeBuildingOperations

An object containing information on how to build a decision tree.

TreeBuildingOperations

An object containing information on how to manipulate the knowledge of other elements.