WebCab Optimization
v2.6
(J2EE Edition)

com.webcab.ejb.math.optimization.unidimensional
Class Extremum

java.lang.Object
  |
  +--com.webcab.ejb.math.optimization.unidimensional.Extremum
All Implemented Interfaces:
Serializable

public class Extremum
extends Object
implements Serializable

This class encapsulates the value and the type of an extremum.

See Also:
Serialized Form

Field Summary
static int MAXIMUM
          A constant representing a maximum.
static int MINIMUM
          A constant representing a minimum.
 int type
          The type of the extremum.
 double value
          The value of the extremum.
 
Constructor Summary
Extremum()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public int type
The type of the extremum. Can be either Extremum.MINIMUM (1) or Extremum.MAXIMUM (-1).


value

public double value
The value of the extremum.


MINIMUM

public static int MINIMUM
A constant representing a minimum. Extremum.MINIMUM == 1


MAXIMUM

public static int MAXIMUM
A constant representing a maximum. Extremum.MAXIMUM == -1

Constructor Detail

Extremum

public Extremum()

WebCab Optimization
v2.6
(J2EE Edition)