public class EqualSolutionNode extends AbstractSolutionNode
nodesCreated
Constructor and Description |
---|
EqualSolutionNode(Equal clause,
RuleSet rules,
SubstitutionSet parentSolution,
AbstractSolutionNode parentNode)
Constructor of the class.
|
Modifier and Type | Method and Description |
---|---|
SubstitutionSet |
nextSolution()
Creates the next solution for the equality of the node.
|
currentRuleCount, getClause, getCurrentRule, getDeepestLeaf, getParentNode, getParentSolution, getRuleSet, hasNextRule, nextRule, reset, setDeepestLeaf
public EqualSolutionNode(Equal clause, RuleSet rules, SubstitutionSet parentSolution, AbstractSolutionNode parentNode)
clause
- the equal clause to be proved by this subtree.rules
- the rules representing context of the proof.parentSolution
- the solution of the parent node in the tree of proof.public SubstitutionSet nextSolution()
null
if there no other different solution.nextSolution
in class AbstractSolutionNode
SubstitutionSet
object representing the bindings of the
next solution or null
if there is no next solution.AbstractSolutionNode.nextSolution()