|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjpov.structure.TreeObject
jpov.structure.Goal
This class implements a goal.
| Method Summary | |
Formula |
getFormula()
Returns the formula. |
int |
getGoalType()
Returns the origin of the goal |
int |
getNbPo()
Returns the number of proof obligations for this node. |
int |
getNbPoProved()
Returns the number of proved proof obligations for this node. |
int |
getNbPoProved(java.lang.String prover)
Returns the number of proved proof obligations for this node. |
int |
getNumber()
Returns the number associated with this goal in the .po file of the Atelier B |
Formula |
getOriginal()
|
java.lang.String |
getOriginString()
Returns a string describing the goal origin. |
ProverStatus |
getProverStatus(java.lang.String prover)
|
GoalStatus |
getState()
|
Substitution[] |
getSubs()
|
java.lang.String |
getText(int type)
Returns the displayed text for this node. |
VirtualFormula |
getVf()
Returns the virtual formula. |
boolean |
isChecked()
Returns whether this node is checked |
boolean |
isMergeable()
Returns whether the goal is proven or checked. |
boolean |
isProved(java.lang.String prover)
|
boolean |
isSelected()
|
void |
setChecked()
Sets the node and its children to checked. |
void |
setSelected()
|
void |
setStatus(java.lang.String prover,
ProverStatus b)
Sets the goal status |
void |
setUnchecked()
Sets the node and its children to unchecked |
void |
setUnselected()
|
| Methods inherited from class jpov.structure.TreeObject |
getParent, isProved, percentProved |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getText(int type)
TreeObject
getText in class TreeObjectpublic int getNbPoProved(java.lang.String prover)
TreeObject
getNbPoProved in class TreeObject1 if the goal is proved, 0 otherwisepublic int getNbPoProved()
TreeObject
getNbPoProved in class TreeObject1 if the goal is proved, 0 otherwisepublic int getNbPo()
TreeObject
getNbPo in class TreeObjectpublic boolean isProved(java.lang.String prover)
public boolean isChecked()
TreeObject
isChecked in class TreeObjectfalse by defaultpublic boolean isMergeable()
true if the goal is not unproved,
false otherwisepublic java.lang.String getOriginString()
public void setStatus(java.lang.String prover,
ProverStatus b)
b - The goal status to setpublic void setChecked()
TreeObject
setChecked in class TreeObjectpublic void setUnchecked()
TreeObject
setUnchecked in class TreeObjectpublic VirtualFormula getVf()
vfpublic Formula getFormula()
public int getNumber()
numberpublic int getGoalType()
originpublic ProverStatus getProverStatus(java.lang.String prover)
public Formula getOriginal()
public Substitution[] getSubs()
public GoalStatus getState()
public void setSelected()
public void setUnselected()
public boolean isSelected()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||