|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRaptor.NDRules.NDRule
Raptor.NDRules.Substitution
public class Substitution
Implements the Substitution rule.
Extends abstract class NDRule.
Constructor Summary | |
---|---|
Substitution(ProofBox pProof)
Constructs a Substitution. |
Method Summary | |
---|---|
void |
addLine(ProofLine pClickedLine)
Adds the extra lines to the rule once the input line has been added. |
void |
apply()
Called by the RuleController to apply the rule. |
void |
check()
Called by the RuleController to check the input lines to the rule. |
void |
findAll(ProofLine pELine,
ProofLine pFLine)
|
void |
findMatch(Formula f,
Equals e,
ProofLine p)
|
void |
findMatch(Term pTerm,
Equals pEquals,
ProofLine pLine)
|
boolean |
haveAll()
Returns true if the rule has all of the required input lines. |
void |
showMatch()
|
Methods inherited from class Raptor.NDRules.NDRule |
---|
addInputLine, checkSignature, getNewFormula |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Substitution(ProofBox pProof)
pProof
- ProofBox representing in which box the rule is being appliedMethod Detail |
---|
public void addLine(ProofLine pClickedLine) throws java.lang.Exception
addLine
in class NDRule
pClickedLine
- ProofLine which has been selected
java.lang.Exception
public boolean haveAll()
haveAll
in class NDRule
public void check() throws java.lang.Exception
check
in class NDRule
java.lang.Exception
public void apply() throws java.lang.Exception
apply
in class NDRule
java.lang.Exception
public void findMatch(Formula f, Equals e, ProofLine p)
public void findMatch(Term pTerm, Equals pEquals, ProofLine pLine)
public void findAll(ProofLine pELine, ProofLine pFLine) throws java.lang.Exception
java.lang.Exception
public void showMatch()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |