public static enum Hopfield.HopfieldUpdate extends java.lang.Enum<Hopfield.HopfieldUpdate>
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getDescription() |
abstract java.lang.String |
getName() |
static Hopfield.HopfieldUpdate |
getUpdateFuncFromName(java.lang.String name) |
static java.lang.String[] |
getUpdateFuncNames() |
abstract void |
update(Hopfield hop) |
static Hopfield.HopfieldUpdate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Hopfield.HopfieldUpdate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Hopfield.HopfieldUpdate RAND
public static final Hopfield.HopfieldUpdate SEQ
public static final Hopfield.HopfieldUpdate SYNC
public static Hopfield.HopfieldUpdate[] values()
for (Hopfield.HopfieldUpdate c : Hopfield.HopfieldUpdate.values()) System.out.println(c);
public static Hopfield.HopfieldUpdate valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Hopfield.HopfieldUpdate getUpdateFuncFromName(java.lang.String name)
public static java.lang.String[] getUpdateFuncNames()
public abstract void update(Hopfield hop)
public abstract java.lang.String getDescription()
public abstract java.lang.String getName()