|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectzeus.actors.rtn.util.GraphStruct
This is the primary coordination structure. One is created for each goal at the start of a coordination process, and maintained until the end of the planning/contracting process.
| Field Summary | |
java.lang.String |
agent
If agentA contracts a task out to another agentB, then gs.agent for agentB will point to agentA. |
java.lang.Object |
any
A temporary structure for holding miscellaneous information. |
boolean |
confirmed
If agentA contracts a task out to another agentB, then gs.confirmed for agentB indicates whether agentA has confirmed the contract or not. |
java.util.Vector |
confirmed_goal
If agentA contracts a task out to another agentB, then gs.confirmed_goal for agentB will contain the final goal agreed to by agentB and confirmed by agentA. |
java.util.Vector |
d_results
A vector containing the results of a delegation round |
java.util.Hashtable |
decompositions
A structure containing summary task decomposition information that is utilised during planning. |
StrategyEvaluatorList |
evaluators
A list of all StrategyEvaluators participating in the
contracting process for the goal. |
java.util.Vector |
external
A vector of subgoals of the root that need to be delegated/contracted out. |
java.util.Vector |
goal
A vector containing the root goal |
java.util.Vector |
ignore_agents
The list of agents to ignore, i.e. not to attempt contracting the goal out to. |
java.util.Vector |
internal
A vector containing subgoals of the root goal that the agent can perform on its own. |
java.lang.String |
key
The contract reference. |
java.util.Vector |
selection
A vector of DelegationStructs of from agents whose proposals
will be accepted. |
double |
timeout
The amount of time availabe for the contracting process. |
| Constructor Summary | |
GraphStruct()
|
|
GraphStruct(java.lang.String agent,
Goal g)
|
|
GraphStruct(java.lang.String agent,
Goal g,
java.lang.String key)
|
|
GraphStruct(java.lang.String agent,
Goal g,
java.lang.String key,
java.util.Vector internal,
java.util.Vector external)
|
|
GraphStruct(java.lang.String agent,
java.lang.String key,
java.util.Vector goals)
|
|
GraphStruct(java.lang.String agent,
java.util.Vector goal)
|
|
| Method Summary | |
GraphStruct |
duplicate()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.util.Vector goal
public java.util.Vector internal
public java.util.Vector external
public java.util.Vector d_results
public java.util.Vector selection
DelegationStructs of from agents whose proposals
will be accepted.
public boolean confirmed
public java.lang.String agent
public java.lang.String key
public java.lang.Object any
public double timeout
public java.util.Vector ignore_agents
public java.util.Vector confirmed_goal
public java.util.Hashtable decompositions
public StrategyEvaluatorList evaluators
StrategyEvaluators participating in the
contracting process for the goal. For example, assume a goal g0 decomposes into two external subgoals g1 and g2. Now an attempt is made to contract out g1 to agents B and C, and g2 to agent D, E, F. In this case, we will have 5 strategy evaluators, one for each subgoal/agent combination. The shared strategy evaluator list allows one evaluator to consider the status of other evaluators when making bidding decisions. (Note: No implemented example to date has utilised the cross-evaluator dialogue feature).
| Constructor Detail |
public GraphStruct()
public GraphStruct(java.lang.String agent,
Goal g)
public GraphStruct(java.lang.String agent,
Goal g,
java.lang.String key)
public GraphStruct(java.lang.String agent,
Goal g,
java.lang.String key,
java.util.Vector internal,
java.util.Vector external)
public GraphStruct(java.lang.String agent,
java.util.Vector goal)
public GraphStruct(java.lang.String agent,
java.lang.String key,
java.util.Vector goals)
| Method Detail |
public java.lang.String toString()
public GraphStruct duplicate()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||