public class AgentVariation
extends java.lang.Object
| Constructor and Description |
|---|
AgentVariation(java.lang.String agentName)
Instantiates a new agent variation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adapt(double currentPerception,
double wantedPerception,
double goalDirection)
Adapt.
|
double |
getCriticity()
Gets the criticity.
|
java.lang.String |
getName()
Gets the name.
|
java.util.HashMap<java.lang.String,java.lang.Double> |
getState()
Gets the state.
|
void |
update(double perceptVariation)
Update.
|
public AgentVariation(java.lang.String agentName)
agentName - the agent namepublic void update(double perceptVariation)
perceptVariation - the percept variationpublic void adapt(double currentPerception,
double wantedPerception,
double goalDirection)
currentPerception - the current perceptionwantedPerception - the wanted perceptiongoalDirection - the goal directionpublic java.util.HashMap<java.lang.String,java.lang.Double> getState()
public double getCriticity()
public java.lang.String getName()