Package jadex.micro.examples.heatbugs
Class HeatbugAgent
- java.lang.Object
- 
- jadex.micro.examples.heatbugs.HeatbugAgent
 
- 
 public class HeatbugAgent extends java.lang.ObjectThe heatbug agent.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagentThe agent.protected doubleideal_tempThe desired temperature.protected doublemytempThe current temperature.protected doublerandomchanceThe probability of a random move.protected doubleunhappinessThe current unhappiness.
 - 
Constructor SummaryConstructors Constructor Description HeatbugAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>executeBody()Execute an agent step.
 
- 
- 
- 
Field Detail- 
agentprotected IInternalAccess agent The agent.
 - 
randomchanceprotected double randomchance The probability of a random move.
 - 
ideal_tempprotected double ideal_temp The desired temperature.
 - 
mytempprotected double mytemp The current temperature.
 - 
unhappinessprotected double unhappiness The current unhappiness.
 
- 
 - 
Method Detail- 
executeBodypublic IFuture<java.lang.Void> executeBody() Execute an agent step.
 
- 
 
-