Package io.github.ai4ci.util
Interface ResampledDistribution
- All Superinterfaces:
Abstraction.Distribution
,Serializable
- All Known Implementing Classes:
ImmutableResampledDistribution
-
Field Summary
FieldsFields inherited from interface io.github.ai4ci.abm.mechanics.Abstraction.Distribution
DX
-
Method Summary
Modifier and TypeMethodDescriptiondefault double
default double
getCumulative
(double x) getFirst()
default EmpiricalDistribution
default double
default double[]
default double
Methods inherited from interface io.github.ai4ci.abm.mechanics.Abstraction.Distribution
combine, getDensity, sample, transform, transform, transform
-
Field Details
-
PRECISION
static final int PRECISION- See Also:
-
KNOTS
static final int KNOTS- See Also:
-
-
Method Details
-
getFirst
Abstraction.Distribution getFirst() -
getSecond
Abstraction.Distribution getSecond() -
getCombiner
ModelOperation.BiFunction<Double,Double, getCombiner()Double> -
getSamples
@Derived default double[] getSamples() -
getCentral
@Derived default double getCentral()- Specified by:
getCentral
in interfaceAbstraction.Distribution
-
getMedian
@Derived default double getMedian()- Specified by:
getMedian
in interfaceAbstraction.Distribution
-
sample
- Specified by:
sample
in interfaceAbstraction.Distribution
-
getCumulative
default double getCumulative(double x) - Specified by:
getCumulative
in interfaceAbstraction.Distribution
-
getInterpolation
-