public class SimpleGaussianContinuousUncertainObject extends AbstractUncertainObject
Modifier and Type | Class and Description |
---|---|
private static class |
SimpleGaussianContinuousUncertainObject.Factory
Factory class for this data type.
|
Modifier and Type | Field and Description |
---|---|
private static double |
DIV
Scaling factor from bounding box width to standard deviations.
|
static FeatureVector.Factory<SimpleGaussianContinuousUncertainObject,?> |
FACTORY
Vector factory.
|
bounds, DEFAULT_TRY_LIMIT
DISCRETE_UNCERTAIN_OBJECT, UNCERTAIN_OBJECT_FIELD
TYPE
Constructor and Description |
---|
SimpleGaussianContinuousUncertainObject(SpatialComparable bounds)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DoubleVector |
drawSample(java.util.Random rand)
Draw a random sampled instance.
|
DoubleVector |
getCenterOfMass()
Get the center of mass of the uncertain object.
|
computeBounds, getDimensionality, getMax, getMin, getValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public static final FeatureVector.Factory<SimpleGaussianContinuousUncertainObject,?> FACTORY
private static final double DIV
public SimpleGaussianContinuousUncertainObject(SpatialComparable bounds)
bounds
- Bounding box (3 sigma)public DoubleVector getCenterOfMass()
UncertainObject
getCenterOfMass
in interface UncertainObject
getCenterOfMass
in class AbstractUncertainObject
public DoubleVector drawSample(java.util.Random rand)
UncertainObject
drawSample
in interface UncertainObject
drawSample
in class AbstractUncertainObject
rand
- Random generatorCopyright © 2019 ELKI Development Team. License information.