jtp.func
Class FunctionProofStep
java.lang.Object
|
+--jtp.proof.Proof
|
+--jtp.ReasoningStep
|
+--jtp.func.FunctionProofStep
- All Implemented Interfaces:
- Cloneable, Serializable, Unifyable
- public class FunctionProofStep
- extends ReasoningStep
This proof step is used when the goal has been proved through
some form of procedural attachment. For example, the goal
(+ 3 2)
would be solved by an arithmetic module,
and the proof returned would be a FunctionProofStep.
- See Also:
- Serialized Form
Method Summary |
String |
tracePrint()
Returns a string that describes the inference that this reasoning
step makes. |
Methods inherited from class jtp.ReasoningStep |
addContentsIfUnifyable, backtrack, clone, cloneNeedsDereferencing, collectUnifyableElements, contains, createDereferencedClone, deReferenceBindings, deReferenceElement, deReferenceList, deReferenceVariables, getCost, getInference, getSubProofs, getVariables, makeStep, unify |
FunctionProofStep
public FunctionProofStep(Literal goal,
Object val,
Map bindings)
FunctionProofStep
public FunctionProofStep(Literal goal,
Object val,
Variable v)
FunctionProofStep
public FunctionProofStep(Literal goal,
Object val)
FunctionProofStep
public FunctionProofStep(Literal s)
tracePrint
public String tracePrint()
- Description copied from class:
ReasoningStep
- Returns a string that describes the inference that this reasoning
step makes.
- Specified by:
tracePrint
in class ReasoningStep