|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simnet.util.ConnectNets
public final class ConnectNets
ConnectNets provides utilities for connecting the nodes of networks together.
| Method Summary | |
|---|---|
static double[][] |
getWeights(Network src,
Network tar)
Returns a matrix representation of the connections between two subnetworks. |
static void |
oneWayFull(Network container,
Network src,
Network tar)
Connect every neuron in the source network to every neuron in the target network. |
static void |
oneWayOneOne(Network container,
Network src,
Network tar)
Connect every neurons in source and target network 1-1. |
static void |
setConnections(Network src,
double[][] w)
Set the weights of an existing simbrain network to those specified. |
static void |
setConnections(Network src,
Network tar,
double[][] w)
Set the weights connecting specified networks to values in a double matrix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void setConnections(Network src,
Network tar,
double[][] w)
src - the source network whose outgoing weights need to be changed.tar - the target network whose incoming weights (from src) need to be changed.w - the new weight values for the network.
public static void setConnections(Network src,
double[][] w)
src - the network whose weights need to be changed.w - the new weight values for the network.
public static void oneWayFull(Network container,
Network src,
Network tar)
container - the network which contains the src and target subnetworks.src - the source networktar - the target network
public static void oneWayOneOne(Network container,
Network src,
Network tar)
container - the network which contains the src and target subnetworks.src - the source networktar - the target network
public static double[][] getWeights(Network src,
Network tar)
src - the source networktar - the target network
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||