public class LunarLanderTF extends java.lang.Object implements TerminalFunction
TerminalFunction
for the LunarLanderDomain
.
This method sets all states in which the lunar lander is on a landing pad to be terminal states.Constructor and Description |
---|
LunarLanderTF(OODomain domain)
Initializes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTerminal(State s) |
public LunarLanderTF(OODomain domain)
domain
- a LunarLanderDomain
generated Domain
object.public boolean isTerminal(State s)
isTerminal
in interface TerminalFunction