|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectRaptor.NDRules.NDRule
Raptor.NDRules.ForallTick
public class ForallTick
Implements the For All Tick rule.
Extends abstract class NDRule.
| Constructor Summary | |
|---|---|
ForallTick(ProofBox pProof)
Constructs a ForallTick. |
|
| Method Summary | |
|---|---|
void |
addInputLine(ProofLine pClickedLine)
Adds the input line to the rule. The line is checked to ensure it is a goal line. |
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. |
boolean |
checkVarSub(Formula pFormula1,
Formula pFormula2)
Only used when the rule is applied backwards to check if the passed formula can be reached by applying For All Tick backwards on the selected line's formula. |
boolean |
haveAll()
Returns true if the rule has all of the required input lines. |
| Methods inherited from class Raptor.NDRules.NDRule |
|---|
checkSignature, getNewFormula |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ForallTick(ProofBox pProof)
pProof - ProofBox representing in which box the rule is being applied| Method Detail |
|---|
public void addInputLine(ProofLine pClickedLine)
throws java.lang.Exception
addInputLine in class NDRulepClickedLine - ProofLine which is the first line selected
java.lang.Exception
public void addLine(ProofLine pClickedLine)
throws java.lang.Exception
addLine in class NDRulepClickedLine - ProofLine which has been selected
java.lang.Exceptionpublic boolean haveAll()
haveAll in class NDRule
public void check()
throws java.lang.Exception
check in class NDRulejava.lang.Exception
public void apply()
throws java.lang.Exception
apply in class NDRulejava.lang.Exception
public boolean checkVarSub(Formula pFormula1,
Formula pFormula2)
throws java.lang.Exception
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||