public class BlockDudeTF extends java.lang.Object implements TerminalFunction
TerminalFunction
for BlockDude
. Returns true
when the agent is at an exit. If there are multiple exits, then returns true when the agent is at any exit.Constructor and Description |
---|
BlockDudeTF() |
Modifier and Type | Method and Description |
---|---|
boolean |
isTerminal(State s) |
public boolean isTerminal(State s)
isTerminal
in interface TerminalFunction