public class StateSpaceImpl extends StateSpace<StateDescriptorImpl>
StateSpace
.buildActionList, idempotentAction, period, states
Constructor and Description |
---|
StateSpaceImpl(int period,
Function<State,ArrayList<Action>> buildActionList,
Function<State,Action> idempotentAction,
HashType hash) |
StateSpaceImpl(int period,
Function<State,ArrayList<Action>> buildActionList,
Function<State,Action> idempotentAction,
HashType hash,
int stateSpaceSizeLowerBound,
float loadFactor) |
StateSpaceImpl(int period,
Function<State,ArrayList<Action>> buildActionList,
Function<State,Action> idempotentAction,
HashType hash,
SamplingScheme samplingScheme,
int maxSampleSize,
double reductionFactorPerStage) |
StateSpaceImpl(int period,
Function<State,ArrayList<Action>> buildActionList,
Function<State,Action> idempotentAction,
HashType hash,
SamplingScheme samplingScheme,
int maxSampleSize,
double reductionFactorPerStage,
int stateSpaceSizeLowerBound,
float loadFactor) |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(StateDescriptorImpl descriptor) |
State |
getState(StateDescriptorImpl descriptor)
Returns the
State associated with a given state descriptor. |
Iterator<State> |
iterator() |
void |
setSamplingScheme(SamplingScheme samplingScheme,
int maxSampleSize,
double reductionFactorPerStage) |
entrySet, getBuildActionList, getIdempotentAction, getPeriod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public StateSpaceImpl(int period, Function<State,ArrayList<Action>> buildActionList, Function<State,Action> idempotentAction, HashType hash)
public StateSpaceImpl(int period, Function<State,ArrayList<Action>> buildActionList, Function<State,Action> idempotentAction, HashType hash, int stateSpaceSizeLowerBound, float loadFactor)
public StateSpaceImpl(int period, Function<State,ArrayList<Action>> buildActionList, Function<State,Action> idempotentAction, HashType hash, SamplingScheme samplingScheme, int maxSampleSize, double reductionFactorPerStage)
public void setSamplingScheme(SamplingScheme samplingScheme, int maxSampleSize, double reductionFactorPerStage)
public boolean exists(StateDescriptorImpl descriptor)
public State getState(StateDescriptorImpl descriptor)
StateSpace
State
associated with a given state descriptor.getState
in class StateSpace<StateDescriptorImpl>
descriptor
- the state descriptor.State
associated with descriptor
.Copyright © 2017–2018. All rights reserved.