|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.meyling.principia.argument.AbstractArgument
com.meyling.principia.argument.AbstractArgumentList
com.meyling.principia.logic.basic.AbstractFormula
com.meyling.principia.logic.basic.PropositionVariable
Represents an arbitrary logical proposition.
| Constructor Summary | |
PropositionVariable(Argument[] arguments)
Constructs a proposition variable. |
|
PropositionVariable(int number)
Constructs certain proposition variable. |
|
| Method Summary | |
Argument |
create(Argument[] arguments)
Create a new Argument with given arguments. |
SubjectVariables |
getBoundSubjectVariables()
Get all bounded subject variables. |
SubjectVariables |
getFreeSubjectVariables()
Get all free subject variables. |
int |
getNumber()
Get the identity number of this proposition variable. |
Formula |
getPartFormula(int i)
Get the requested part formula |
int |
getPartFormulaSize()
Get the number of part formulas that this formula contains. |
SubjectVariables |
getSubjectVariables()
Get all subject variables that occur in this formula. |
String |
toString()
Get the argument in String form. |
| Methods inherited from class com.meyling.principia.logic.basic.AbstractFormula |
createPattern, replaceBoundSubjectVariable, replaceBoundSubjectVariables |
| Methods inherited from class com.meyling.principia.argument.AbstractArgumentList |
copy, getArgument, getArgumentSize |
| Methods inherited from class com.meyling.principia.argument.AbstractArgument |
containsPatternVariables, equals, getHighestNumber, getPatternVariables, getReplacementParents, getSearchParents, hashCode, matches, matches, replace, replace, replace, replaceMatches |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.meyling.principia.argument.Argument |
containsPatternVariables, copy, equals, getArgument, getArgumentSize, getPatternVariables, getReplacementParents, getSearchParents, hashCode, matches, matches, replace, replace, replace, replaceMatches |
| Methods inherited from interface com.meyling.principia.logic.basic.Formula |
replaceBoundSubjectVariable, replaceBoundSubjectVariables |
| Constructor Detail |
public PropositionVariable(Argument[] arguments)
throws ArgumentException
arguments - first argument is number of this proposition
variable
ArgumentException - if there is not exactly one
argument that is an instance of Counter
public PropositionVariable(int number)
throws ArgumentException
number - number of proposition variable
ArgumentException - if Counter couldn't be created| Method Detail |
public int getNumber()
public final int getPartFormulaSize()
Formula
getPartFormulaSize in interface FormulagetPartFormulaSize in class AbstractFormulapublic final Formula getPartFormula(int i)
Formula
getPartFormula in interface FormulagetPartFormula in class AbstractFormulapublic final SubjectVariables getFreeSubjectVariables()
Formula
getFreeSubjectVariables in interface FormulagetFreeSubjectVariables in class AbstractFormulapublic final SubjectVariables getBoundSubjectVariables()
Formula
getBoundSubjectVariables in interface FormulagetBoundSubjectVariables in class AbstractFormulapublic final SubjectVariables getSubjectVariables()
Formula
getSubjectVariables in interface FormulagetSubjectVariables in class AbstractFormula
public final Argument create(Argument[] arguments)
throws ArgumentException
Argument
create in interface Argumentcreate in class AbstractArgumentListArgumentExceptionpublic final String toString()
ArgumentString form.
toString in interface ArgumenttoString in class AbstractArgumentList
|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |