net.openai.ai.nn.architecture
Class Architecture

java.lang.Object
  |
  +--net.openai.ai.nn.architecture.Architecture
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TestArchitecture

public abstract class Architecture
extends java.lang.Object
implements java.io.Serializable

This class defines how the neural network will be constructed or connected. How each neuron will be connected to other neurons in the network.

Version:
$Id: Architecture.java,v 1.6 2002/02/28 15:23:40 tweber Exp $ History:
$Log: Architecture.java,v $
Revision 1.6 2002/02/28 15:23:40 tweber
Added methods to disconnect a bunch of neurons

Revision 1.5 2002/02/25 06:28:46 mazepa
Have changed private method connectAll of TestArchitecture.java to public
and added it's declaration into Architecture.java
Added insertLayer and removeLayer into Network.java

Revision 1.4 2002/02/20 20:20:22 tweber
- commented
- new method do create default connections for a neuron
Author:
gleo
See Also:
Serialized Form

Constructor Summary
Architecture()
           
 
Method Summary
abstract  void connectAll(java.util.Vector fromNeurons, java.util.Vector toNeurons)
          Interconnects given neurons
abstract  void connectNetwork(Network network)
          Connects the network passed in to this method.
abstract  void createDefaultConnections(Network network, Neuron neuron)
          Creates default connections for the given neuron
abstract  void disconnectAllFrom(java.util.Vector neurons)
          Deletes all connections from the given neurons to others
abstract  void disconnectAllTo(java.util.Vector neurons)
          Deletes all connections to the given neurons from others
abstract  void iterateNetwork(Network network)
          Iterates the network according to the rules set by the architecture.
abstract  void reconnectNetwork(Network network)
          Traverse a network and reconnect it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Architecture

public Architecture()
Method Detail

connectNetwork

public abstract void connectNetwork(Network network)
Connects the network passed in to this method.

Parameters:
network - The network to be connected.
Returns:
Network The fully connected network.

reconnectNetwork

public abstract void reconnectNetwork(Network network)
Traverse a network and reconnect it. Used after a loaded network is unmarshalled

Parameters:
network - The network to reconnect
See Also:
connectNetwork

iterateNetwork

public abstract void iterateNetwork(Network network)
Iterates the network according to the rules set by the architecture.

Parameters:
network - The network to be iterated.

createDefaultConnections

public abstract void createDefaultConnections(Network network,
                                              Neuron neuron)
Creates default connections for the given neuron


connectAll

public abstract void connectAll(java.util.Vector fromNeurons,
                                java.util.Vector toNeurons)
Interconnects given neurons


disconnectAllFrom

public abstract void disconnectAllFrom(java.util.Vector neurons)
Deletes all connections from the given neurons to others


disconnectAllTo

public abstract void disconnectAllTo(java.util.Vector neurons)
Deletes all connections to the given neurons from others



Copyright - 2001 OpenAI Labs. All Rights Reserved.