net.sourceforge.jannealer
Class Simplex

java.lang.Object
  |
  +--net.sourceforge.jannealer.Simplex

class Simplex
extends java.lang.Object

Holds the vertices of the simplex and the function value at the vertices

Since:
October 29, 2001

Constructor Summary
Simplex(double[] vertex, double value, int ndim)
          Constructor for the Simplex object
 
Method Summary
 double getValue()
          Gets the Value attribute of the Simplex object
 double[] getVertex()
          Gets the Vertex attribute of the Simplex object
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simplex

public Simplex(double[] vertex,
               double value,
               int ndim)
Constructor for the Simplex object
Parameters:
vertex - The vertices of the simplex
value - The function value
ndim - The number of dimensions
Method Detail

getVertex

public double[] getVertex()
Gets the Vertex attribute of the Simplex object
Returns:
The Vertex value

getValue

public double getValue()
Gets the Value attribute of the Simplex object
Returns:
The Value value