Interface GeneralizedVector

All Known Subinterfaces:
GeneralizedMetricVectorSpace, R1GeneralizedVector, R1Normed, RdGeneralizedVector, RdNormed
All Known Implementing Classes:
BinaryBooleanVector, R1Combinatorial, R1CombinatorialBall, R1CombinatorialVector, R1Continuous, R1ContinuousBall, R1ContinuousVector, RdAggregate, RdCombinatorialBall, RdCombinatorialBanach, RdCombinatorialHilbert, RdCombinatorialVector, RdContinuousBall, RdContinuousBanach, RdContinuousHilbert, RdContinuousVector

public interface GeneralizedVector
GeneralizedVector exposes the basic Properties of the General Vector Space.



Author:
Lakshmi Krishnamurthy
  • Method Summary

    Modifier and Type Method 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 gvsOther)
    Compare against the "Other" Generalized Vector Space
    double rightEdge()
    Retrieve the Right Edge
    boolean subset​(GeneralizedVector gvsOther)
    Indicate if the "Other" Generalized Vector Space is a Subset of "this"
  • Method Details

    • leftEdge

      double leftEdge()
      Retrieve the Left Edge
      Returns:
      The Left Edge
    • rightEdge

      double rightEdge()
      Retrieve the Right Edge
      Returns:
      The Right Edge
    • cardinality

      Cardinality cardinality()
      Retrieve the Cardinality of the Vector Space
      Returns:
      Cardinality of the Vector Space
    • match

      boolean match​(GeneralizedVector gvsOther)
      Compare against the "Other" Generalized Vector Space
      Parameters:
      gvsOther - The "Other" Generalized Vector Space
      Returns:
      TRUE - The "Other" Generalized Vector Space matches this
    • subset

      boolean subset​(GeneralizedVector gvsOther)
      Indicate if the "Other" Generalized Vector Space is a Subset of "this"
      Parameters:
      gvsOther - The "Other" Generalized Vector Space
      Returns:
      TRUE - The "Other" Generalized Vector Space is a Subset of this
    • isPredictorBounded

      boolean isPredictorBounded()
      Indicate if the Predictor Variate Space is bounded from the Left and the Right
      Returns:
      The Predictor Variate Space is bounded from the Left and the Right
    • hyperVolume

      double hyperVolume() throws java.lang.Exception
      Retrieve the "Hyper" Volume of the Vector Space
      Returns:
      The "Hyper" Volume of the Vector Space
      Throws:
      java.lang.Exception - Thrown if the Hyper Volume cannot be computed