jtp.disp
Class RelationBasedDispatcher
java.lang.Object
|
+--jtp.disp.RelationBasedDispatcher
- All Implemented Interfaces:
- Dispatcher, Reasoner
- Direct Known Subclasses:
- RelationBasedBCDispatcher, RelationBasedFCDispatcher
- public abstract class RelationBasedDispatcher
- extends Object
- implements Dispatcher
RelationBasedDispatcher.java
Created: Tue Oct 05 01:00:20 1999
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
process
public ReasoningStepIterator process(Literal lit,
Object o)
throws ReasoningException
- Returns:
-
ReasoningException
addRelationBasedReasoner
protected boolean addRelationBasedReasoner(RelationBasedReasoner rr)
removeRelationBasedReasoner
protected boolean removeRelationBasedReasoner(RelationBasedReasoner r)
getReasoners
public Collection getReasoners()
- Description copied from interface:
Dispatcher
- Retrieves the collection of child reasoners directly beneath this dispatcher. This collection may
be "live", i.e. in some cases modification to this collection will reflect on the state of the
dispatcher. Therefore it might be a good idea to make a copy before trying to modify it.
- Specified by:
getReasoners
in interface Dispatcher
- Returns:
- the collection of child reasoners directly beneath this dispatcher.