|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.micro.MicroAgent
jadex.micro.examples.heatbugs.HeatbugAgent
public class HeatbugAgent
The heatbug agent.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jadex.micro.MicroAgent |
|---|
MicroAgent.TimerWrapper |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class jadex.micro.MicroAgent |
|---|
interpreter, longtime, timers |
| Constructor Summary | |
|---|---|
HeatbugAgent()
|
|
| Method Summary | |
|---|---|
void |
executeBody()
Execute an agent step. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double randomchance
protected double ideal_temp
protected double mytemp
protected double unhappiness
| Constructor Detail |
|---|
public HeatbugAgent()
| Method Detail |
|---|
public void executeBody()
executeBody in interface IMicroAgentexecuteBody in class MicroAgent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||