Class MultipleValuesBasedProcess<D extends Distribution>
java.lang.Object
org.ojalgo.random.process.AbstractProcess<D>
org.ojalgo.random.process.MultipleValuesBasedProcess<D>
- All Implemented Interfaces:
RandomProcess<D>
- Direct Known Subclasses:
GaussianProcess
-
Nested Class Summary
Nested classes/interfaces inherited from interface RandomProcess
RandomProcess.SimulationResults -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddObservation(Double x, double y) (package private) double(package private) TreeSet<EntryPair.KeyedPrimitive<Double>> (package private) voidsetCurrentValue(double newValue) (package private) final voidsetObservations(Collection<? extends EntryPair.KeyedPrimitive<Double>> c) simulate(int numberOfRealisations, int numberOfSteps, double stepSize) Returns an collection of sample sets.Methods inherited from class AbstractProcess
doStep, getExpected, getExpected, getLowerConfidenceQuantile, getLowerConfidenceQuantile, getNormalisedRandomIncrement, getStandardDeviation, getStandardDeviation, getUpperConfidenceQuantile, getUpperConfidenceQuantile, getVariance, getVariance, stepMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RandomProcess
getDistribution
-
Field Details
-
myObservations
-
-
Constructor Details
-
MultipleValuesBasedProcess
MultipleValuesBasedProcess()
-
-
Method Details
-
addObservation
-
simulate
public RandomProcess.SimulationResults simulate(int numberOfRealisations, int numberOfSteps, double stepSize) Description copied from interface:RandomProcessReturns an collection of sample sets. The array has numberOfSteps elements, and each sample set has numberOfRealisations samples.- Returns:
- An array of sample sets. The array has aNumberOfSteps elements, and each sample set has aNumberOfRealisations samples.
-
getCurrentValue
double getCurrentValue()- Specified by:
getCurrentValuein classAbstractProcess<D extends Distribution>
-
getObservations
TreeSet<EntryPair.KeyedPrimitive<Double>> getObservations() -
setCurrentValue
void setCurrentValue(double newValue) - Specified by:
setCurrentValuein classAbstractProcess<D extends Distribution>
-
setObservations
-