org.encog.ml.world.basic
Class BasicAgent
- java.lang.Object
-
- org.encog.ml.world.basic.BasicAgent
-
- All Implemented Interfaces:
- WorldAgent
public class BasicAgent extends java.lang.Object implements WorldAgent
-
-
Constructor Summary
Constructors Constructor and Description BasicAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description StategetCurrentState()AgentPolicygetPolicy()WorldgetWorld()voidsetAgentPolicy(AgentPolicy p)voidsetCurrentState(State s)voidsetWorld(World world)voidtick()java.lang.StringtoString()
-
-
-
Method Detail
-
getCurrentState
public State getCurrentState()
- Specified by:
getCurrentStatein interfaceWorldAgent
-
setCurrentState
public void setCurrentState(State s)
- Specified by:
setCurrentStatein interfaceWorldAgent
-
getPolicy
public AgentPolicy getPolicy()
- Specified by:
getPolicyin interfaceWorldAgent
-
setAgentPolicy
public void setAgentPolicy(AgentPolicy p)
- Specified by:
setAgentPolicyin interfaceWorldAgent
-
getWorld
public World getWorld()
- Specified by:
getWorldin interfaceWorldAgent- Returns:
- the world
-
setWorld
public void setWorld(World world)
- Specified by:
setWorldin interfaceWorldAgent- Parameters:
world- the world to set
-
tick
public void tick()
- Specified by:
tickin interfaceWorldAgent
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG