public class BlockDude.HoldingBlockPF extends PropositionalFunction
PropositionalFunction
that takes as arguments an agent object and a block objects and evaluates whether
the agent is holding the block.domain, name, parameterClasses, parameterOrderGroup, pfClass
Constructor and Description |
---|
BlockDude.HoldingBlockPF(Domain domain) |
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, toString
public BlockDude.HoldingBlockPF(Domain domain)
public boolean isTrue(State st, java.lang.String... params)
PropositionalFunction
isTrue
in class PropositionalFunction
st
- the state that is being checkedparams
- the parameters being passed in to the propositional function