public static class SetStrategySGAgent.SetStrategyAgentFactory extends java.lang.Object implements AgentFactory
| Modifier and Type | Field and Description |
|---|---|
protected SGDomain |
domain
The domain in which the agent will play
|
protected Policy |
policy
The strategy this agent will follow
|
| Constructor and Description |
|---|
SetStrategySGAgent.SetStrategyAgentFactory(SGDomain domain,
Policy policy) |
| Modifier and Type | Method and Description |
|---|---|
SGAgent |
generateAgent()
Returns a new agent instance.
|
protected Policy policy
protected SGDomain domain
public SGAgent generateAgent()
AgentFactorygenerateAgent in interface AgentFactory