org.encog.neural.networks.structure
Enum FlatUpdateNeeded

java.lang.Object
  extended by java.lang.Enum<FlatUpdateNeeded>
      extended by org.encog.neural.networks.structure.FlatUpdateNeeded
All Implemented Interfaces:
Serializable, Comparable<FlatUpdateNeeded>

public enum FlatUpdateNeeded
extends Enum<FlatUpdateNeeded>

Is a flat update needed?


Enum Constant Summary
Flatten
          Need to copy weights from object network to flat network.
Never
          Never flatten this network.
None
          No update needed.
Unflatten
          Need to copy weights from flat network to object network.
 
Method Summary
static FlatUpdateNeeded valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FlatUpdateNeeded[] 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

None

public static final FlatUpdateNeeded None
No update needed.


Flatten

public static final FlatUpdateNeeded Flatten
Need to copy weights from object network to flat network.


Unflatten

public static final FlatUpdateNeeded Unflatten
Need to copy weights from flat network to object network.


Never

public static final FlatUpdateNeeded Never
Never flatten this network.

Method Detail

values

public static FlatUpdateNeeded[] 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 (FlatUpdateNeeded c : FlatUpdateNeeded.values())
    System.out.println(c);

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

valueOf

public static FlatUpdateNeeded valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.