What Does a Framework Look Like? - Gnorion/BizVR GitHub Wiki
Here’s what a framework looks like in code. Its simply a component that contains
- the interface classes (iPredator and iPrey),
- a class that contains the rules (Frame) and
- any other supporting code (in this case the association class Eaten) \
There is no Main class or start method.
The method called evolve is the one that contains the inference block (posts the rules and start the chaining).
This is a public method that we will use later to invoke the rules.
Notice that there are no domain classes in the framework component.