Documentation of 'org.spaceroots.mantissa.optimization.PointCostPair' Java class
PointCostPair
org.spaceroots.mantissa.optimization

Class PointCostPair



  • public class PointCostPair
    extends java.lang.Object
    This class holds a point and its associated cost.

    This is a simple immutable container.

    See Also:
    CostFunction
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      double cost
      Cost associated to the point.
      double[] point
      Point coordinates.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PointCostPair(double[] point, double cost)
      Build a point/cost pair.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • point

        public final double[] point
        Point coordinates.
      • cost

        public final double cost
        Cost associated to the point.
    • Constructor Detail

      • PointCostPair

        public PointCostPair(double[] point,
                             double cost)
        Build a point/cost pair.
        Parameters:
        point - point coordinates
        cost - point cost

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.