org.spaceroots.mantissa.optimization
Class PointCostPair

java.lang.Object
  extended byorg.spaceroots.mantissa.optimization.PointCostPair

public class PointCostPair
extends Object

This class holds a point and its associated cost.

This is a simple immutable container.

Version:
$Id: PointCostPair.java 1709 2006-12-03 21:16:50Z luc $
Author:
Luc Maisonobe
See Also:
CostFunction

Field Summary
 double cost
          Cost associated to the point.
 double[] point
          Point coordinates.
 
Constructor Summary
PointCostPair(double[] point, double cost)
          Build a point/cost pair.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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


Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.