public class R1ContinuousVector extends java.lang.Object implements R1GeneralizedVector
Constructor and Description |
---|
R1ContinuousVector(double dblLeftEdge,
double dblRightEdge)
R1ContinuousVector Constructor
|
Modifier and Type | Method and Description |
---|---|
Cardinality |
cardinality()
Retrieve the Cardinality of the Vector Space
|
double |
hyperVolume()
Retrieve the "Hyper" Volume of the Vector Space
|
boolean |
isPredictorBounded()
Indicate if the Predictor Variate Space is bounded from the Left and the Right
|
double |
leftEdge()
Retrieve the Left Edge
|
boolean |
match(GeneralizedVector gvOther)
Compare against the "Other" Generalized Vector Space
|
double |
rightEdge()
Retrieve the Right Edge
|
static R1ContinuousVector |
Standard()
Create the Standard R^1 Continuous Vector Space
|
boolean |
subset(GeneralizedVector gvOther)
Indicate if the "Other" Generalized Vector Space is a Subset of "this"
|
boolean |
validateInstance(double dblInstance)
Validate the Input Instance Ordinate
|
public R1ContinuousVector(double dblLeftEdge, double dblRightEdge) throws java.lang.Exception
dblLeftEdge
- The Left EdgedblRightEdge
- The Right Edgejava.lang.Exception
- Thrown if the Inputs are invalidpublic static final R1ContinuousVector Standard()
public double leftEdge()
GeneralizedVector
leftEdge
in interface GeneralizedVector
public double rightEdge()
GeneralizedVector
rightEdge
in interface GeneralizedVector
public boolean validateInstance(double dblInstance)
R1GeneralizedVector
validateInstance
in interface R1GeneralizedVector
dblInstance
- The Input Instance Ordinatepublic Cardinality cardinality()
GeneralizedVector
cardinality
in interface GeneralizedVector
public boolean match(GeneralizedVector gvOther)
GeneralizedVector
match
in interface GeneralizedVector
gvOther
- The "Other" Generalized Vector Spacepublic boolean subset(GeneralizedVector gvOther)
GeneralizedVector
subset
in interface GeneralizedVector
gvOther
- The "Other" Generalized Vector Spacepublic boolean isPredictorBounded()
GeneralizedVector
isPredictorBounded
in interface GeneralizedVector
public double hyperVolume() throws java.lang.Exception
GeneralizedVector
hyperVolume
in interface GeneralizedVector
java.lang.Exception
- Thrown if the Hyper Volume cannot be computed