edu.jhu.cs.cisst.algorithms.segmentation.gac
Enum GradientVectorFlow2D.Method

java.lang.Object
  extended by java.lang.Enum<GradientVectorFlow2D.Method>
      extended by edu.jhu.cs.cisst.algorithms.segmentation.gac.GradientVectorFlow2D.Method
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GradientVectorFlow2D.Method>
Enclosing class:
GradientVectorFlow2D

public static enum GradientVectorFlow2D.Method
extends java.lang.Enum<GradientVectorFlow2D.Method>

The Enum Method.


Enum Constant Summary
BiCG
          The Biconjugate graident solver.
BiCGstab
          The stabilized biconjugate gradient solver.
CG
          The conjugate gradient solver.
CGS
          The conjugate gradient squared solver.
MULTIGRID
          The Multi-grid solver.
 
Method Summary
static GradientVectorFlow2D.Method valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GradientVectorFlow2D.Method[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MULTIGRID

public static final GradientVectorFlow2D.Method MULTIGRID
The Multi-grid solver.


CG

public static final GradientVectorFlow2D.Method CG
The conjugate gradient solver.


CGS

public static final GradientVectorFlow2D.Method CGS
The conjugate gradient squared solver.


BiCG

public static final GradientVectorFlow2D.Method BiCG
The Biconjugate graident solver.


BiCGstab

public static final GradientVectorFlow2D.Method BiCGstab
The stabilized biconjugate gradient solver.

Method Detail

values

public static GradientVectorFlow2D.Method[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GradientVectorFlow2D.Method c : GradientVectorFlow2D.Method.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GradientVectorFlow2D.Method valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null