public class GridWorldDomain.AtLocationPF extends PropositionalFunction
domain, name, parameterClasses, parameterOrderGroup, pfClass| Constructor and Description |
|---|
GridWorldDomain.AtLocationPF(java.lang.String name,
Domain domain,
java.lang.String[] parameterClasses)
Initializes with given name domain and parameter object class types
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTrue(State 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.
|
equals, getAllGroundedPropsForState, getAllGroundedPropsFromPFList, getClassName, getName, getParameterClasses, getParameterOrderGroups, hashCode, init, setClassName, somePFGroundingIsTrue, toStringpublic GridWorldDomain.AtLocationPF(java.lang.String name,
Domain domain,
java.lang.String[] parameterClasses)
name - name of functiondomain - the domain of the functionparameterClasses - the object class types for the parameterspublic boolean isTrue(State st, java.lang.String... params)
PropositionalFunctionisTrue in class PropositionalFunctionst - the state that is being checkedparams - the parameters being passed in to the propositional function