public class ConnectionFactory extends Object
Constructor and Description |
---|
ConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
static void |
createConnection(Neuron fromNeuron,
Layer toLayer)
Creates connectivity between specified neuron and all neurons in specified layer
|
static void |
createConnection(Neuron fromNeuron,
Neuron toNeuron)
Creates connection between two specified neurons
|
static void |
createConnection(Neuron fromNeuron,
Neuron toNeuron,
double weightVal)
Creates connection between two specified neurons
|
static void |
createConnection(Neuron fromNeuron,
Neuron toNeuron,
double weightVal,
int delay) |
static void |
createConnection(Neuron fromNeuron,
Neuron toNeuron,
Weight weight)
Creates connection between two specified neurons
|
static void |
forwardConnect(Layer fromLayer,
Layer toLayer)
Creates forward connection pattern between specified layers
|
static void |
forwardConnect(Layer fromLayer,
Layer toLayer,
double weightVal)
Creates forward connectivity pattern between the specified layers
|
static void |
fullConnect(Layer layer)
Creates full connectivity within layer - each neuron with all other
within the same layer
|
static void |
fullConnect(Layer layer,
double weightVal)
Creates full connectivity within layer - each neuron with all other
within the same layer with the specified weight values for all
conections.
|
static void |
fullConnect(Layer layer,
double weightVal,
int delay)
Creates full connectivity within layer - each neuron with all other
within the same layer with the specified weight and delay values for all
conections.
|
static void |
fullConnect(Layer fromLayer,
Layer toLayer)
Creates full connectivity between the two specified layers
|
static void |
fullConnect(Layer fromLayer,
Layer toLayer,
boolean connectBiasNeuron)
Creates full connectivity between the two specified layers
|
static void |
fullConnect(Layer fromLayer,
Layer toLayer,
double weightVal)
Creates full connectivity between two specified layers with specified
weight for all connections
|
public static void createConnection(Neuron fromNeuron, Neuron toNeuron)
fromNeuron
- output neurontoNeuron
- input neuronpublic static void createConnection(Neuron fromNeuron, Neuron toNeuron, double weightVal)
fromNeuron
- neuron to connect (connection source)toNeuron
- neuron to connect to (connection target)weightVal
- connection weight valuepublic static void createConnection(Neuron fromNeuron, Neuron toNeuron, double weightVal, int delay)
public static void createConnection(Neuron fromNeuron, Neuron toNeuron, Weight weight)
fromNeuron
- neuron to connect (connection source)toNeuron
- neuron to connect to (connection target)weight
- connection weightpublic static void createConnection(Neuron fromNeuron, Layer toLayer)
fromNeuron
- neuron to connecttoLayer
- layer to connect topublic static void fullConnect(Layer fromLayer, Layer toLayer)
fromLayer
- layer to connecttoLayer
- layer to connect topublic static void fullConnect(Layer fromLayer, Layer toLayer, boolean connectBiasNeuron)
fromLayer
- layer to connecttoLayer
- layer to connect topublic static void fullConnect(Layer fromLayer, Layer toLayer, double weightVal)
fromLayer
- output layertoLayer
- input layerweightVal
- connection weight valuepublic static void fullConnect(Layer layer)
public static void fullConnect(Layer layer, double weightVal)
public static void fullConnect(Layer layer, double weightVal, int delay)
public static void forwardConnect(Layer fromLayer, Layer toLayer, double weightVal)
fromLayer
- layer to connecttoLayer
- layer to connect toCopyright © 2019 Neuroph Project. All rights reserved.