public interface SparseStateActionFeatures
Modifier and Type | Method and Description |
---|---|
SparseStateActionFeatures |
copy()
Returns a deep copy of this features function.
|
java.util.List<StateFeature> |
features(State s,
Action a)
Returns non-zero state-action features for a given state and action.
|
int |
numFeatures()
Returns the total number of features
|
java.util.List<StateFeature> features(State s, Action a)
s
- the state for which features should be returneda
- the action for which features should be returnedSparseStateActionFeatures copy()
int numFeatures()