| Home >> All |
| | jeops.compiler.* (8) | | jeops.conflict.* (12) | | jeops.examples.* (30) | | jeops.rete.* (6) |
jeops: Javadoc index of package jeops.
Package Samples:
jeops.rete: The Runtime Environment for JEOPS.
jeops.examples.auction
jeops.examples.factorial
jeops.examples.fibonacci
jeops.examples.hanoi
jeops.examples.monkeys
jeops.examples.queens
jeops.compiler
jeops.compiler.parser
jeops.conflict
Classes:
ConflictSetListener: The listener interface for receiving conflict set events. The class that is interested in acting in response to some element being added to or removed from the conflict set should implement this interface, and the object created with this class is registered with a rule base, using the addConflictSetListener method. When an element is inserted into the conflict set, that object's elementAdded method is invoked; when an element is removed from the conflict set, that object's elementRemoved method is invoked.
ConflictSet: Defines the required operations that a conflict set should implement. The conflict set is the place where the fireable rules are stored, and one of them is to be chosen to fire at some moment. It's up to the implementing classes to determine the policy used to select which rule to fire. The implementations of the conflict set must also be able to notify any registered listener that some element has been added to or removed from the conflict set.
RuleFireListener: The listener interface for receiving rule fire events. The class that is interested in acting in response to some rule being fired should implement this interface, and the object created with this class is registered with a rule base, using the addRuleFireListener method. When a rule is about to be fired, that object's ruleFiring method is invoked; when a rule is fired, that object's ruleFired method is invoked.
AbstractConflictSet: This class provides a skeletal implementation of the ConflictSet interface to minimize the effort required to implement this interface. It helps mainly in dealing with the registered listeners for conflict set events. Its subclasses must invoke the methods elementAdded and elementRemoved wheneved applicable to make full use of the notification mechanism this skeleton provides.
Main: Main class in the Jeops phase of converting rule files into Java classes. When invoked, the method convert() will create a java file in the same directory as the rule file (with the extension changed from .rules to .java ). In this way, rule files can be grouped into packages in the same way as java classes.
FilterReteNode: A discriminant node in the Rete network. A discriminant node is one that has only one input and one output, and it will propagate the incoming objects if some property (i.e., a boolean method call) is satisfied. This kind of node doesn't have a memory of objects, filtering out those that don't comply with the property.
AbstractKnowledgeBase: The main class of JEOPS. This class models the knowledge the agent has about the world. In it are stored the facts (objects) and (production) rules that act on the first. This class must be subclassed by a concrete knowledge base so that it is provided with the object and rule base needed for work.
NaturalConflictSet: A conflict set whose conflict resolution policy specifies that no rule can be fired more than once with the same objects. This conflict set requires a large amount of memory to store the history of rule firing, so it must be used with care. It also tends to get inefficient when the history grows.
FinalReteNode: A final node in the Rete network. There will be one final node for each rule in the rule base; when objects arrive at a final node, they are stored in a conflict set element and inserted into the conflict set of the knowledge base.
ObjectBase: This class models the facts over which the inference engine will act. By facts we mean any object that is stored in this base - there's no notion of truth or falseness. A fact simply exists or doesn't.
JoinReteNode: A node in the Rete network that has more than one input, so that objects coming from distinct parts of the network are joined together in instances of this class.
InternalConflictSetEvent: A semantic event that indicates that an element was added to or removed from a conflict set. This class is used only internally to JEOPS for control purposes.
ClassFilterReteNode: A node in the Rete network that is activated if the object belongs to the class it represents. An object of this class is the entry point of the Rete network.
PriorityConflictSet: A conflict set whose conflict resolution policy is one that rules defined first in the rule base have a higher priority over the ones defined below it.
ObjectHashTable: This class models a hash table used by the object base. It's used to improve the search for the objects of a certain class, including its subclasses.
ReteNode: A node in the Rete network. This class is the base for all kinds of nodes that exist in the implementation of the Rete network for JEOPS.
DefaultConflictSet: A default conflict set, whose conflict resolution policy is not specified. In other words, any of the instantiations can be returned.
LRUConflictSet: A conflict set whose conflict resolution policy is one that the least recently fired rules have priority over the remaining ones.
MRUConflictSet: A conflict set whose conflict resolution policy is one that the most recently fired rules have priority over the remaining ones.
AbstractRuleBase: A generic rule base of Jeops. Objects of this class represent rule bases that can be treated generically by any knowledge base.
InternalConflictSetListener: The listener interface for receiving conflict set events. This class is used only internally to JEOPS for control purposes.
Scanner: Class used in the parsing of the rules file. It's the first step in the converting of the rules into Java classes.
Token: Class used to store the tokens read from the rules file. It's returned by the scanner to the parser of the rules.
TokenConstants: Interface used to define the constants used by the tokenization process of the scanning/parser of the rule files.
NoMoreElementsException: This class defines an exception that will be thrown when there aren't more rules to be fired in a conflict set.
| Home | Contact Us | Privacy Policy | Terms of Service |