public class LunarLanderDomain.TouchGroundPF extends PropositionalFunction
| Modifier and Type | Field and Description |
|---|---|
protected double |
ymin |
name, parameterClasses, parameterOrderGroup| Constructor and Description |
|---|
TouchGroundPF(java.lang.String name)
Initializes to be evaluated on an agent object.
|
TouchGroundPF(java.lang.String name,
double ymin)
Initializes to be evaluated on an agent object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrue(OOState st,
java.lang.String... params)
Returns whether the propositional function is true for the given state with the given parameters
This version is preferred to the comma delimited version.
|
allGroundings, allGroundingsFromList, equals, findPF, getName, getParameterClasses, getParameterOrderGroups, hashCode, init, someGroundingIsTrue, toStringpublic TouchGroundPF(java.lang.String name)
name - the name of the propositional functionpublic TouchGroundPF(java.lang.String name,
double ymin)
name - the name of the propositional functionymin - the minimum y valuepublic boolean isTrue(OOState st, java.lang.String... params)
PropositionalFunctionisTrue in class PropositionalFunctionst - the state that is being checkedparams - the parameters being passed in to the propositional function