public class BlocksWorld.ColorPF extends PropositionalFunction
| Modifier and Type | Field and Description |
|---|---|
protected BlocksWorld.NamedColor |
color |
name, parameterClasses, parameterOrderGroup| Constructor and Description |
|---|
ColorPF(BlocksWorld.NamedColor color) |
| 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, toStringprotected BlocksWorld.NamedColor color
public ColorPF(BlocksWorld.NamedColor color)
public 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