|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpartage.ComplexInstance.ObjectAgentClause
public static class ComplexInstance.ObjectAgentClause
A static class representing a clause of litterals alloc(o,i) or not(alloc(o,i)).
| Constructor Summary | |
|---|---|
ComplexInstance.ObjectAgentClause(int[] _objects,
int[] _agents)
Constructs a clause of litterals from the two arrays. |
|
| Method Summary | |
|---|---|
int[] |
getAgents()
This methods returns the set of agents concerned by the formula. |
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.ObjectAgentClause(int[] _objects,
int[] _agents)
_objects[i], _agents[i]) if these two
numbers are positive, and not(alloc(_objects[i], _agents[i])
if they are both negative. If only one among the two is negative, it throws an error.
_objects - the array of objects._agents - the array of agents.| Method Detail |
|---|
public int[] getAgents()
ComplexInstance.LogicalObjectAgentFormula
getAgents in interface ComplexInstance.LogicalObjectAgentFormulapublic int[] getObjects()
ComplexInstance.LogicalObjectFormula
getObjects in interface ComplexInstance.LogicalObjectFormulapublic 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 | ||||||||