public class GarbageCollectorBDI extends BaseAgentBDI
Modifier and Type | Class and Description |
---|---|
class |
GarbageCollectorBDI.Check
Goal for running around on the grid and searching for garbage.
|
class |
GarbageCollectorBDI.Go
Goal for going to a specified position.
|
class |
GarbageCollectorBDI.Pick
The goal for picking up waste.
|
static class |
GarbageCollectorBDI.Take
Goal for picking up a piece of waste, bringing it
to some burner and going back.
|
agent, env, garbages, myself
Constructor and Description |
---|
GarbageCollectorBDI() |
Modifier and Type | Method and Description |
---|---|
void |
body()
The agent body.
|
protected boolean |
hasGarbage() |
protected boolean |
isDirty() |
getAgent, getEnvironment, getMyself, getPosition