public interface FeatureDatabase
Modifier and Type | Method and Description |
---|---|
FeatureDatabase |
copy()
Returns a deep copy of this feature database.
|
void |
freezeDatabaseState(boolean toggle)
Enable or disable the database from generating new features.
|
java.util.List<ActionFeaturesQuery> |
getActionFeaturesSets(State s,
java.util.List<GroundedAction> actions)
Returns non-zero action features for all of provided actions in state s.
|
java.util.List<StateFeature> |
getStateFeatures(State s)
Returns non-zero state features for a given state.
|
int |
numberOfFeatures()
Returns the number of features this database tracks.
|
java.util.List<StateFeature> getStateFeatures(State s)
s
- the state for which features should be returnedjava.util.List<ActionFeaturesQuery> getActionFeaturesSets(State s, java.util.List<GroundedAction> actions)
s
- the state for which features should be returnedactions
- the action set for which the action features should be returnedvoid freezeDatabaseState(boolean toggle)
toggle
- int numberOfFeatures()
FeatureDatabase copy()