jtp.time.func
Class TimePointFunctionReasoner
java.lang.Object
|
+--jtp.disp.AbstractRelationBasedReasoner
|
+--jtp.disp.AbstractRelationBasedBCReasoner
|
+--jtp.func.EvaluableFunctionReasoner
|
+--jtp.time.func.TimePointFunctionReasoner
- All Implemented Interfaces:
- Reasoner, RelationBasedBCReasoner, RelationBasedReasoner, Serializable
- Direct Known Subclasses:
- FirstTimePoint, MinusTimePoint, PlusTimePoint, TimePointToInteger
- public abstract class TimePointFunctionReasoner
- extends EvaluableFunctionReasoner
Abstract class of reasoners that deal with evaluable functions whose
arguments are TimePoint
s.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tvocab
protected TimeVocabulary tvocab
TimePointFunctionReasoner
public TimePointFunctionReasoner(Symbol relation,
int arity,
CanonicalMapping mapping,
TimeVocabulary vocab)
calculate
protected abstract Object calculate(Object[] args)
throws ReasoningException
ReasoningException
evaluate
public boolean evaluate(Object[] args,
Object result,
List varStack,
boolean isNegated)
throws ReasoningException
- Specified by:
evaluate
in class EvaluableFunctionReasoner
ReasoningException