public class R1CombinatorialVector extends java.lang.Object implements R1GeneralizedVector
Constructor and Description |
---|
R1CombinatorialVector(java.util.List<java.lang.Double> lsElementSpace)
R1CombinatorialVector Constructor
|
Modifier and Type | Method and Description |
---|---|
Cardinality |
cardinality()
Retrieve the Cardinality of the Vector Space
|
java.util.List<java.lang.Double> |
elementSpace()
Retrieve the Full Candidate List of Elements
|
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
|
boolean |
subset(GeneralizedVector gvOther)
Indicate if the "Other" Generalized Vector Space is a Subset of "this"
|
boolean |
validateInstance(double dblX)
Validate the Input Instance Ordinate
|
public R1CombinatorialVector(java.util.List<java.lang.Double> lsElementSpace) throws java.lang.Exception
lsElementSpace
- The List Space of Elementsjava.lang.Exception
- Thrown if the Inputs are Invalidpublic java.util.List<java.lang.Double> elementSpace()
public double leftEdge()
GeneralizedVector
leftEdge
in interface GeneralizedVector
public double rightEdge()
GeneralizedVector
rightEdge
in interface GeneralizedVector
public boolean validateInstance(double dblX)
R1GeneralizedVector
validateInstance
in interface R1GeneralizedVector
dblX
- 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