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_LIMITDISCRETE_UNCERTAIN_OBJECT, UNCERTAIN_OBJECT_FIELDTYPE| 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, getValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic static final FeatureVector.Factory<SimpleGaussianContinuousUncertainObject,?> FACTORY
private static final double DIV
public SimpleGaussianContinuousUncertainObject(SpatialComparable bounds)
bounds - Bounding box (3 sigma)public DoubleVector getCenterOfMass()
UncertainObjectgetCenterOfMass in interface UncertainObjectgetCenterOfMass in class AbstractUncertainObjectpublic DoubleVector drawSample(java.util.Random rand)
UncertainObjectdrawSample in interface UncertainObjectdrawSample in class AbstractUncertainObjectrand - Random generatorCopyright © 2019 ELKI Development Team. License information.