aima.logic.fol.inference
Class FOLTFMResolution
java.lang.Object
aima.logic.fol.inference.FOLTFMResolution
- All Implemented Interfaces:
- InferenceProcedure
public class FOLTFMResolution
- extends java.lang.Object
- implements InferenceProcedure
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOLTFMResolution
public FOLTFMResolution()
FOLTFMResolution
public FOLTFMResolution(long maxQueryTime)
FOLTFMResolution
public FOLTFMResolution(FOLTFMResolutionTracer tracer)
getMaxQueryTime
public long getMaxQueryTime()
setMaxQueryTime
public void setMaxQueryTime(long maxQueryTime)
getTracer
public FOLTFMResolutionTracer getTracer()
setTracer
public void setTracer(FOLTFMResolutionTracer tracer)
ask
public InferenceResult ask(FOLKnowledgeBase KB,
Sentence alpha)
- Specified by:
ask
in interface InferenceProcedure
- Parameters:
KB
- the knowledge base against which the query is to be made.alpha
- to be answered.
- Returns:
- an InferenceResult.