Class GarbageCollectorAgent
- java.lang.Object
-
- jadex.bdiv3.examples.garbagecollector.BaseAgent
-
- jadex.bdiv3.examples.garbagecollector.GarbageCollectorAgent
-
public class GarbageCollectorAgent extends BaseAgent
Garbage collector agent.-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GarbageCollectorAgent.Check
Goal for running around on the grid and searching for garbage.class
GarbageCollectorAgent.Go
Goal for going to a specified position.class
GarbageCollectorAgent.Pick
The goal for picking up waste.static class
GarbageCollectorAgent.Take
Goal for picking up a piece of waste, bringing it to some burner and going back.
-
Constructor Summary
Constructors Constructor Description GarbageCollectorAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
body()
The agent body.protected boolean
hasGarbage()
protected boolean
isDirty()
-
Methods inherited from class jadex.bdiv3.examples.garbagecollector.BaseAgent
getAgent, getEnvironment, getMyself, getPosition
-
-
-