|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.openai.ai.nn.architecture.Architecture
|
+--net.openai.ai.nn.architecture.TestArchitecture
This class defines how the neural network will be constructed or connected. How each neuron will be connected to other neurons in the network.
| Constructor Summary | |
TestArchitecture()
Constructor declaration |
|
| Method Summary | |
void |
addConnectionEventListener(ConnectionEventListener listener)
Adds a connection event listener. |
void |
connectAll(java.util.Vector fromNeurons,
java.util.Vector toNeurons)
Interconects the given neurons |
void |
connectNetwork(Network network)
Connects the network passed in to this method. |
void |
createDefaultConnections(Network network,
Neuron neuron)
Creates default connections for the given neurons |
void |
disconnectAllFrom(java.util.Vector neurons)
Deletes all connections from the given neurons to others |
void |
disconnectAllTo(java.util.Vector neurons)
Deletes all connections to the given neurons from others |
void |
iterateNetwork(Network network)
Iterates the network according to the rules set by the architecture. |
java.lang.String |
printConnections(java.util.Vector layers)
Prints a list of the connections between layers |
java.lang.String |
printNetworkConnections(Network network)
Prints a list of the network connections |
void |
reconnectLearningLayers(java.util.Vector layers)
Reconnects the network ordered learning layers |
void |
reconnectNetwork(Network network)
Reconnects the network |
void |
removeConnectionEventListener(ConnectionEventListener listener)
Removes a connection event listener. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestArchitecture()
| Method Detail |
public final void connectNetwork(Network network)
connectNetwork in class Architecturenetwork - The network to be connected.
public final void iterateNetwork(Network network)
iterateNetwork in class Architecturenetwork - The network to be iterated.public final void reconnectNetwork(Network network)
reconnectNetwork in class Architecturenetwork - The network to be reconnected.connectNetworkpublic final void reconnectLearningLayers(java.util.Vector layers)
layers - The layers to be reconnected.public java.lang.String printNetworkConnections(Network network)
network - The network to be processed.public java.lang.String printConnections(java.util.Vector layers)
public void addConnectionEventListener(ConnectionEventListener listener)
listener - listener to add.public void removeConnectionEventListener(ConnectionEventListener listener)
listener - listener to remove.
public void createDefaultConnections(Network network,
Neuron neuron)
createDefaultConnections in class Architecture
public void connectAll(java.util.Vector fromNeurons,
java.util.Vector toNeurons)
connectAll in class Architecturepublic void disconnectAllFrom(java.util.Vector neurons)
disconnectAllFrom in class Architecturepublic void disconnectAllTo(java.util.Vector neurons)
disconnectAllTo in class Architecture
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||