|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uni_tuebingen.sfb.lichtenstein.formulas.FormulaImpl de.uni_tuebingen.sfb.lichtenstein.formulas.ComposedFormula
public abstract class ComposedFormula
A class representing a composed formula, i.e. a formula which consists of other formulas, connected by an operator.
Constructor Summary | |
---|---|
protected |
ComposedFormula()
Initialize a new composed formula. |
Method Summary | |
---|---|
List<Formula> |
getAllSubformulas()
Returns a list containing all subformulas of this formula. |
abstract int |
getNbSubformulas()
Returns the number of subformulas of this formula. |
abstract Formula |
getSubformulaAt(int index)
Returns the indexth subformula of this formula. |
abstract String |
getSymbol()
Return the textual representation of this binary junctor. |
Methods inherited from class de.uni_tuebingen.sfb.lichtenstein.formulas.FormulaImpl |
---|
and, computePredicates, computeVariables, equals, exists, exists, forAll, forAll, getFreeVariables, getPredicates, getVariables, hashCode, iff, implies, isClosed, not, or, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.uni_tuebingen.sfb.lichtenstein.formulas.Formula |
---|
containsVariable, getNormalForm, isFree |
Methods inherited from interface de.uni_tuebingen.sfb.lichtenstein.formulas.Visitable |
---|
accept |
Constructor Detail |
---|
protected ComposedFormula()
Method Detail |
---|
public List<Formula> getAllSubformulas()
public abstract int getNbSubformulas()
public abstract Formula getSubformulaAt(int index) throws IndexOutOfBoundsException
index
- The index of the wanted subformula. Indices start from 0.IndexOutOfBoundsException
- [CAN]
The index is bigger than or equal to the number of subformulas of this formula, or less than zero | index <
0 || index >= getNbSubformulas()public abstract String getSymbol()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |