public static class SetStrategyAgent.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 |
---|
SetStrategyAgent.SetStrategyAgentFactory(SGDomain domain,
Policy policy) |
Modifier and Type | Method and Description |
---|---|
Agent |
generateAgent()
Returns a new agent instance.
|
protected Policy policy
protected SGDomain domain
public Agent generateAgent()
AgentFactory
generateAgent
in interface AgentFactory