U
- type of parameter value to be sampledV
- type of enumerated parameters, see ParameterEnum
S
- type of ParameterizedState
T
- type of DataCollection
@FunctionalInterface
public interface ParameterSampler<U,V extends java.lang.Enum<V> & ParameterEnum,S extends ParameterizedState<V>,T extends DataCollection>
Parameter
value,
given an ParameterizedState
and a DataCollection
.Modifier and Type | Method and Description |
---|---|
U |
sample(org.apache.commons.math3.random.RandomGenerator rng,
S state,
T dataCollection)
Returns a random sample of a value that is dependent on an
ParameterizedState and a
DataCollection . |
U sample(org.apache.commons.math3.random.RandomGenerator rng, S state, T dataCollection)
ParameterizedState
and a
DataCollection
.rng
- RandomGenerator to use in generating random samplestate
- ParameterizedState to use in generating random sampledataCollection
- DataCollection to use in generating random sample