public class HeatbugAgent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected jadex.bridge.IInternalAccess |
agent
The agent.
|
protected double |
ideal_temp
The desired temperature.
|
protected double |
mytemp
The current temperature.
|
protected double |
randomchance
The probability of a random move.
|
protected double |
unhappiness
The current unhappiness.
|
Constructor and Description |
---|
HeatbugAgent() |
Modifier and Type | Method and Description |
---|---|
jadex.commons.future.IFuture<java.lang.Void> |
executeBody()
Execute an agent step.
|
protected jadex.bridge.IInternalAccess agent
protected double randomchance
protected double ideal_temp
protected double mytemp
protected double unhappiness