|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object partage.ComplexInstance.ObjectAgentDNF
public static class ComplexInstance.ObjectAgentDNF
A static class representing a propositional logical formula of alloc(o, i) in disjunctive normal form (allows for a more efficient processing of this kind of preferences).
Constructor Summary | |
---|---|
ComplexInstance.ObjectAgentDNF()
|
|
ComplexInstance.ObjectAgentDNF(int[][] _conjunctiveTermsObjects,
int[][] _conjunctiveTermsAgents)
|
Method Summary | |
---|---|
void |
addConjunctiveTerm(int[] _conjunctiveTermObjects,
int[] _conjunctiveTermAgents)
Adds a clause to the Disjunctive Normal Form. |
int[] |
getAgents()
This methods returns the set of agents concerned by the formula. |
int[][] |
getConjunctiveTermsAgents()
Returns the array representation of the Disjunctive Normal Form (agents). |
int[][] |
getConjunctiveTermsObjects()
Returns the array representation of the Disjunctive Normal Form (objects). |
int[] |
getObjects()
This methods returns the set of objects concerned by the formula. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComplexInstance.ObjectAgentDNF()
public ComplexInstance.ObjectAgentDNF(int[][] _conjunctiveTermsObjects, int[][] _conjunctiveTermsAgents)
Method Detail |
---|
public int[][] getConjunctiveTermsObjects()
public int[][] getConjunctiveTermsAgents()
public void addConjunctiveTerm(int[] _conjunctiveTermObjects, int[] _conjunctiveTermAgents)
_conjunctiveTermObjects
- the array of objects representing the conjunctive term to add._conjunctiveTermAgents
- the array of agents representing the conjunctive term to add.public int[] getObjects()
ComplexInstance.LogicalObjectFormula
getObjects
in interface ComplexInstance.LogicalObjectFormula
public int[] getAgents()
ComplexInstance.LogicalObjectAgentFormula
getAgents
in interface ComplexInstance.LogicalObjectAgentFormula
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 |