public interface Clause extends PCExpression
PCExpression
interface and creates the subdivision of the
predicate expressions that can be a query.Modifier and Type | Method and Description |
---|---|
AbstractSolutionNode |
getSolver(RuleSet rules,
SubstitutionSet parentSolution,
AbstractSolutionNode parentNode)
Creates a solver which is a node in the tree proof.
|
replaceVariables, standardizeVariablesApart
AbstractSolutionNode getSolver(RuleSet rules, SubstitutionSet parentSolution, AbstractSolutionNode parentNode)
Clause
.
This function is recursive over all objects that can be proved and creates the tree of proof for a clause.
rules
- the RuleSet
object containing the rules of knowledge.parentSolution
- the solution known so far at the parent node.AbstractSolutionNode.nextSolution()