aima.logic.fol.inference
Class AbstractModulation.IdentifyCandidateMatchingTerm
java.lang.Object
aima.logic.fol.inference.AbstractModulation.IdentifyCandidateMatchingTerm
- All Implemented Interfaces:
- FOLVisitor
- Enclosing class:
- AbstractModulation
protected class AbstractModulation.IdentifyCandidateMatchingTerm
- extends java.lang.Object
- implements FOLVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractModulation.IdentifyCandidateMatchingTerm
public AbstractModulation.IdentifyCandidateMatchingTerm(Term toMatch,
AtomicSentence expression)
isMatch
public boolean isMatch()
getMatchingTerm
public Term getMatchingTerm()
getMatchingSubstitution
public java.util.Map<Variable,Term> getMatchingSubstitution()
visitPredicate
public java.lang.Object visitPredicate(Predicate p,
java.lang.Object arg)
- Specified by:
visitPredicate
in interface FOLVisitor
visitTermEquality
public java.lang.Object visitTermEquality(TermEquality equality,
java.lang.Object arg)
- Specified by:
visitTermEquality
in interface FOLVisitor
visitVariable
public java.lang.Object visitVariable(Variable variable,
java.lang.Object arg)
- Specified by:
visitVariable
in interface FOLVisitor
visitConstant
public java.lang.Object visitConstant(Constant constant,
java.lang.Object arg)
- Specified by:
visitConstant
in interface FOLVisitor
visitFunction
public java.lang.Object visitFunction(Function function,
java.lang.Object arg)
- Specified by:
visitFunction
in interface FOLVisitor
visitNotSentence
public java.lang.Object visitNotSentence(NotSentence sentence,
java.lang.Object arg)
- Specified by:
visitNotSentence
in interface FOLVisitor
visitConnectedSentence
public java.lang.Object visitConnectedSentence(ConnectedSentence sentence,
java.lang.Object arg)
- Specified by:
visitConnectedSentence
in interface FOLVisitor
visitQuantifiedSentence
public java.lang.Object visitQuantifiedSentence(QuantifiedSentence sentence,
java.lang.Object arg)
- Specified by:
visitQuantifiedSentence
in interface FOLVisitor