|
||||||||||
| 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.ModusPonensBo
public class ModusPonensBo
Modes Ponens usage.
| Constructor Summary | |
|---|---|
ModusPonensBo(int n1,
int n2)
Constructs a Modus Ponens argument. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int[] |
getLines()
Get references to previous lines. |
ModusPonens |
getModusPonens()
Get this reason. |
int |
getN1()
Get first formula reference. |
int |
getN2()
Get second formula reference. |
java.lang.String |
getName()
Get name for this reason. |
java.lang.String |
getReference1()
Get reference to formula. |
java.lang.String |
getReference2()
Get reference to formula. |
java.lang.String[] |
getReferences()
Get references to previous formulas. |
int |
hashCode()
|
void |
setN1(int n1)
Set first formula reference. |
void |
setN2(int n2)
Set second formula reference. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModusPonensBo(int n1,
int n2)
n1 - Usually reference to a formula like A -> B.n2 - Usually reference to a formula like A.| Method Detail |
|---|
public ModusPonens getModusPonens()
ModusPonens
getModusPonens in interface ModusPonenspublic java.lang.String getReference1()
ModusPonens
getReference1 in interface ModusPonenspublic void setN1(int n1)
n1 - Reference to formula.public int getN1()
public java.lang.String getReference2()
ModusPonens
getReference2 in interface ModusPonenspublic void setN2(int n2)
n2 - Reference to formula.public int getN2()
public java.lang.String[] getReferences()
Reason
getReferences in interface Reasonnull.public int[] getLines()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
Reason
getName in interface Reason
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||