org.encog.neural.networks.synapse
Enum SynapseType

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

public enum SynapseType
extends Enum<SynapseType>

Specifies the type of synapse to be created.

Author:
jheaton

Enum Constant Summary
Direct
          Direct - Input is simply passed directly to the next layer.
NEAT
          NEAT - A synapse that contains a NEAT network.
Normalize
          Normalize - A synapse that normalizes the data.
OneToOne
          OneToOne - Each neuron is connected to the same neuron number in the next layer.
Weighted
          Weighted - The neurons are connected between the two levels with weights.
Weightless
          Weightless - Every neuron is connected to every other neuron in the next layer, but there are no weights.
 
Method Summary
static SynapseType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SynapseType[] 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

OneToOne

public static final SynapseType OneToOne
OneToOne - Each neuron is connected to the same neuron number in the next layer. The two layers must have the same number of neurons.


Weighted

public static final SynapseType Weighted
Weighted - The neurons are connected between the two levels with weights. These weights change during training.


Weightless

public static final SynapseType Weightless
Weightless - Every neuron is connected to every other neuron in the next layer, but there are no weights.


Direct

public static final SynapseType Direct
Direct - Input is simply passed directly to the next layer.


NEAT

public static final SynapseType NEAT
NEAT - A synapse that contains a NEAT network.


Normalize

public static final SynapseType Normalize
Normalize - A synapse that normalizes the data. Used to implement a SOM.

Method Detail

values

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

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

valueOf

public static SynapseType 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.