|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.util.ConnectionFactory
public class ConnectionFactory
Provides methods to connect neurons by creating Connection objects.
Constructor Summary | |
---|---|
ConnectionFactory()
|
Method Summary | |
---|---|
static void |
createConnection(Neuron from,
Neuron to)
Creates connection between two specified neurons |
static void |
createConnection(Neuron from,
Neuron to,
java.lang.Double weightVal)
Creates connection between two specified neurons |
static void |
createConnection(Neuron from,
Neuron to,
java.lang.Double weightVal,
int delay)
|
static void |
createConnection(Neuron from,
Neuron to,
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,
double weightVal)
Creates full connectivity between two specified layers with specified weight for all connections |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionFactory()
Method Detail |
---|
public static void createConnection(Neuron from, Neuron to)
from
- output neuronto
- input neuronpublic static void createConnection(Neuron from, Neuron to, java.lang.Double weightVal)
from
- output neuronto
- input neuronweightVal
- connection weight valuepublic static void createConnection(Neuron from, Neuron to, java.lang.Double weightVal, int delay)
public static void createConnection(Neuron from, Neuron to, Weight weight)
from
- output neuronto
- input neuronweight
- connection weightpublic static void fullConnect(Layer fromLayer, Layer toLayer)
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 topublic static void forwardConnect(Layer fromLayer, Layer toLayer)
fromLayer
- layer to connecttoLayer
- layer to connect to
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |