com.anji.neat
Class NeuronType

java.lang.Object
  extended bycom.anji.neat.NeuronType

public class NeuronType
extends java.lang.Object

Enumerated type representing flavors of neurons: input, output, hidden. Values returned in toString() correspond to values in NEVT XML data model.

Author:
Philip Tucker

Field Summary
static NeuronType HIDDEN
          hidden neuron
static NeuronType INPUT
          input neuron
static NeuronType OUTPUT
          output neuron
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
          define this so objects may be used in hash tables
 java.lang.String toString()
           
static NeuronType valueOf(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INPUT

public static final NeuronType INPUT
input neuron


HIDDEN

public static final NeuronType HIDDEN
hidden neuron


OUTPUT

public static final NeuronType OUTPUT
output neuron

Method Detail

valueOf

public static NeuronType valueOf(java.lang.String name)
Parameters:
name - id of type
Returns:
NeuronType enumerated type corresponding to name

equals

public boolean equals(java.lang.Object o)
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
See Also:
Object.toString()

hashCode

public int hashCode()
define this so objects may be used in hash tables

See Also:
Object.hashCode()