public class DefaultAgentOptionGenerationFunction extends AbstractAgentReasoningStrategy implements AgentOptionGenerationFunction
AgentOptionGenerationFunction.agent| Constructor and Description |
|---|
DefaultAgentOptionGenerationFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateGoals(GoalUpdateSet agentGoalUpdateSet,
java.util.Map<Capability,GoalUpdateSet> capabilityGoalUpdateSets)
This default implementation requests each of its capabilities to generate
or drop goals.
|
setAgentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetAgentpublic DefaultAgentOptionGenerationFunction()
public void generateGoals(GoalUpdateSet agentGoalUpdateSet, java.util.Map<Capability,GoalUpdateSet> capabilityGoalUpdateSets)
generateGoals in interface AgentOptionGenerationFunctionagentGoalUpdateSet - the GoalUpdateSet that contains the set of agent
current goals. It has also a set of dropped goals and
generated goals, which are used as outputs of this method.capabilityGoalUpdateSets - the map from capabilities to their goal update set.AgentOptionGenerationFunction.generateGoals(GoalUpdateSet, Map)