public interface QFunction extends ValueFunction
Modifier and Type | Interface and Description |
---|---|
static class |
QFunction.QFunctionHelper
A class of helper static methods that may be commonly used by code that uses a QFunction instance.
|
Modifier and Type | Method and Description |
---|---|
QValue |
getQ(State s,
AbstractGroundedAction a)
Returns the
QValue for the given state-action pair. |
java.util.List<QValue> |
getQs(State s)
Returns a
List of QValue objects for ever permissible action for the given input state. |
value
java.util.List<QValue> getQs(State s)
List
of QValue
objects for ever permissible action for the given input state.s
- the state for which Q-values are to be returned.List
of QValue
objects for ever permissible action for the given input state.QValue getQ(State s, AbstractGroundedAction a)
QValue
for the given state-action pair.s
- the input statea
- the input actionQValue
for the given state-action pair.