|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object partage.ComplexInstance.GenericObjectFormula partage.ComplexInstance.GenericObjectAgentFormula
public static class ComplexInstance.GenericObjectAgentFormula
A static class representing a generic propositional formula made of an array of subformulae, and a logical operator, on the set of alloc(object, agent).
Field Summary |
---|
Fields inherited from class partage.ComplexInstance.GenericObjectFormula |
---|
OPERATOR_AND, OPERATOR_NOT, OPERATOR_OR |
Constructor Summary | |
---|---|
ComplexInstance.GenericObjectAgentFormula(ComplexInstance.LogicalObjectAgentFormula[] _sub,
int _op)
|
Method Summary | |
---|---|
static ComplexInstance.GenericObjectAgentFormula |
and(ComplexInstance.LogicalObjectAgentFormula[] _sub)
Makes a conjunction of several formulae |
static ComplexInstance.GenericObjectAgentFormula |
and(ComplexInstance.LogicalObjectAgentFormula _sub1,
ComplexInstance.LogicalObjectAgentFormula _sub2)
Makes a conjunction of two formulae |
int[] |
getAgents()
This methods returns the set of agents concerned by the formula. |
ComplexInstance.LogicalObjectAgentFormula |
getSubformula(int i)
|
static ComplexInstance.GenericObjectAgentFormula |
not(ComplexInstance.LogicalObjectAgentFormula _sub)
Makes a negation of a formula |
static ComplexInstance.GenericObjectAgentFormula |
or(ComplexInstance.LogicalObjectAgentFormula[] _sub)
Makes a disjunction of several formulae |
static ComplexInstance.GenericObjectAgentFormula |
or(ComplexInstance.LogicalObjectAgentFormula _sub1,
ComplexInstance.LogicalObjectAgentFormula _sub2)
Makes a disjunction of two formulae |
Methods inherited from class partage.ComplexInstance.GenericObjectFormula |
---|
and, and, getObjects, getOperator, getSubformulae, not, or, or, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface partage.ComplexInstance.LogicalObjectFormula |
---|
getObjects |
Constructor Detail |
---|
public ComplexInstance.GenericObjectAgentFormula(ComplexInstance.LogicalObjectAgentFormula[] _sub, int _op)
Method Detail |
---|
public int[] getAgents()
ComplexInstance.LogicalObjectAgentFormula
getAgents
in interface ComplexInstance.LogicalObjectAgentFormula
public static ComplexInstance.GenericObjectAgentFormula not(ComplexInstance.LogicalObjectAgentFormula _sub)
_sub
- the formula to negate.
public static ComplexInstance.GenericObjectAgentFormula or(ComplexInstance.LogicalObjectAgentFormula[] _sub)
_sub
- the array of formulae
public static ComplexInstance.GenericObjectAgentFormula or(ComplexInstance.LogicalObjectAgentFormula _sub1, ComplexInstance.LogicalObjectAgentFormula _sub2)
_sub1
- the first formula_sub2
- the second formula
public static ComplexInstance.GenericObjectAgentFormula and(ComplexInstance.LogicalObjectAgentFormula[] _sub)
_sub
- the array of formulae
public static ComplexInstance.GenericObjectAgentFormula and(ComplexInstance.LogicalObjectAgentFormula _sub1, ComplexInstance.LogicalObjectAgentFormula _sub2)
_sub1
- the first formula_sub2
- the second formula
public ComplexInstance.LogicalObjectAgentFormula getSubformula(int i)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |