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.
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”.
- any rule in the library must inherit from interface IFactRule
- FactRuleBase - default implementation.
FactRuleCollection
Collection of rules. The main task of this element is to "keep track of the uniqueness of the rules in the collection".
- any rule collection in the library must inherit from interface IFactRuleCollection
- FactRuleCollectionBase - default implementation.
WantAction
Instructions that contain information about "what facts you need" and "how to give them to you".
- any wantAction in the library must inherit from interface IWantAction
- WantActionBase - default implementation.
TreeBuildingOperations
An object containing information on how to build a decision tree.
- Must be inherited from ITreeBuildingOperations
- TreeBuildingOperationsFacade - default implementation.
TreeBuildingOperations
An object containing information on how to manipulate the knowledge of other elements.
- Must be inherited from ISingleEntityOperations
- SingleEntityOperationsFacade - default implementation.