|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.bo.logic.proof.finder.SubstPredBo
public class SubstPredBo
Usage of rule for substitute predicate variable.
Constructor Summary | |
---|---|
SubstPredBo(int n,
Element predicateVariable,
Element substituteFormula)
Constructs an reason. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getN()
Get formula reference. |
java.lang.String |
getName()
Get name for this reason. |
Element |
getPredicateVariable()
Get predicate variable (with subject variables as parameters) that should be replaced. |
java.lang.String |
getReference()
Get reference to already proven formula. |
java.lang.String[] |
getReferences()
Get references to previous formulas. |
Element |
getSubstituteFormula()
Get substitute formula. |
SubstPred |
getSubstPred()
Get this reason. |
int |
hashCode()
|
void |
setN(int n)
Set formula reference. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubstPredBo(int n, Element predicateVariable, Element substituteFormula)
n
- Reference to a valid formula.predicateVariable
- Predicate variable that will be substituted.substituteFormula
- Replacement formula.Method Detail |
---|
public SubstPred getSubstPred()
SubstPred
getSubstPred
in interface SubstPred
public java.lang.String getReference()
SubstPred
getReference
in interface SubstPred
public void setN(int n)
n
- Reference to formula.public int getN()
public java.lang.String[] getReferences()
Reason
getReferences
in interface Reason
null
.public Element getPredicateVariable()
SubstPred
getPredicateVariable
in interface SubstPred
public Element getSubstituteFormula()
SubstPred
SubstPred.getPredicateVariable()
.
getSubstituteFormula
in interface SubstPred
public java.lang.String getName()
Reason
getName
in interface Reason
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |