Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Synapsim.blocks.ai.NeuralNetworks
Class FeedForwardPropagationNetwork  view FeedForwardPropagationNetwork download FeedForwardPropagationNetwork.java

java.lang.Object
  extended bySynapsim.core.Block
      extended bySynapsim.blocks.ai.NeuralNetworks.FeedForwardPropagationNetwork
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Direct Known Subclasses:
BackErrorPropagation

public class FeedForwardPropagationNetwork
extends Synapsim.core.Block


Field Summary
static java.lang.String ACTIVATION
           
protected  java.lang.Object computeSemaphore
           
protected  java.lang.String DEFAULT_FILE_NAME
           
static int DEFAULT_HIDDEN
           
static int DEFAULT_INPUT
           
static int DEFAULT_OUTPUT
           
protected  int[] DEFAULT_STRUCTURE
           
static java.lang.String INPUT
           
static java.lang.String LOAD
           
static java.lang.String LOAD_STRUCTURE
           
protected  java.lang.String loadedFile
           
protected  AI.NeuralNetworks.FeedForwardNetwork net
           
static java.lang.String NETWORK_PERSISTENCE_FILENAME_EXTENSION
           
protected  int numberOfInputs
           
protected  int numberOfOutputs
           
static java.lang.String OUTPUT
           
 
Fields inherited from class Synapsim.core.Block
blocks, daemon, inputs, menu, outputs, properties, propertiesMenu, PROPERTY_NAME_NAME, widget
 
Constructor Summary
FeedForwardPropagationNetwork()
           
FeedForwardPropagationNetwork(java.lang.String name, Synapsim.core.BlockCollection blockcollection)
           
 
Method Summary
 java.lang.String getLoadedFile()
          returns the name of the last loaded file
 AI.NeuralNetworks.FeedForwardNetwork getNet()
          retrns the FeedForwardNetwork used
 void loadNet()
          opensa a file dialog and loads the net form the file selected
 java.lang.String netToString()
          retrns a string representation of the net contained
 void persistData(java.io.BufferedWriter bw)
           
 void persistedData(java.io.BufferedReader br)
           
 void setNet(AI.NeuralNetworks.FeedForwardNetwork net)
          Keeps the block coherence with this net
 void setNumberOfInputs(int inputSize)
          adjusts the number of inputs to the module
 void setNumberOfOutputs(int outputSize)
          adjusts the number of outputs to the module
 
Methods inherited from class Synapsim.core.Block
actionPerformed, addInput, addMenuItem, addOutput, addOutputConnection, canPersist, getBlocks, getClassName, getCollection, getFullName, getInputByName, getInputData, getInputs, getName, getNumInputs, getNumOutputs, getOutputByName, getOutputs, getProperties, getProperty, getPropertyByFriendlyName, getPropertyByName, getWidget, newDefaultPropertySet, popMenu, rebuildPropertiesMenu, removeInput, removeOutput, setAllInputs, setAllOutputs, setBlockCollection, setCollection, setDaemon, setInputData, setName, setOutputData, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_INPUT

public static final int DEFAULT_INPUT
See Also:
Constant Field Values

DEFAULT_OUTPUT

public static final int DEFAULT_OUTPUT
See Also:
Constant Field Values

DEFAULT_HIDDEN

public static final int DEFAULT_HIDDEN
See Also:
Constant Field Values

ACTIVATION

public static final java.lang.String ACTIVATION
See Also:
Constant Field Values

INPUT

public static final java.lang.String INPUT
See Also:
Constant Field Values

OUTPUT

public static final java.lang.String OUTPUT
See Also:
Constant Field Values

numberOfInputs

protected int numberOfInputs

numberOfOutputs

protected int numberOfOutputs

LOAD

public static final java.lang.String LOAD
See Also:
Constant Field Values

net

protected AI.NeuralNetworks.FeedForwardNetwork net

DEFAULT_FILE_NAME

protected java.lang.String DEFAULT_FILE_NAME

DEFAULT_STRUCTURE

protected int[] DEFAULT_STRUCTURE

computeSemaphore

protected java.lang.Object computeSemaphore

NETWORK_PERSISTENCE_FILENAME_EXTENSION

public static final java.lang.String NETWORK_PERSISTENCE_FILENAME_EXTENSION
See Also:
Constant Field Values

LOAD_STRUCTURE

public static final java.lang.String LOAD_STRUCTURE
See Also:
Constant Field Values

loadedFile

protected java.lang.String loadedFile
Constructor Detail

FeedForwardPropagationNetwork

public FeedForwardPropagationNetwork()

FeedForwardPropagationNetwork

public FeedForwardPropagationNetwork(java.lang.String name,
                                     Synapsim.core.BlockCollection blockcollection)
Method Detail

setNet

public void setNet(AI.NeuralNetworks.FeedForwardNetwork net)
Keeps the block coherence with this net


setNumberOfInputs

public void setNumberOfInputs(int inputSize)
adjusts the number of inputs to the module


setNumberOfOutputs

public void setNumberOfOutputs(int outputSize)
adjusts the number of outputs to the module


loadNet

public void loadNet()
opensa a file dialog and loads the net form the file selected


getLoadedFile

public java.lang.String getLoadedFile()
returns the name of the last loaded file


netToString

public java.lang.String netToString()
retrns a string representation of the net contained


getNet

public AI.NeuralNetworks.FeedForwardNetwork getNet()
retrns the FeedForwardNetwork used


persistData

public void persistData(java.io.BufferedWriter bw)
                 throws java.io.IOException

persistedData

public void persistedData(java.io.BufferedReader br)
                   throws java.io.IOException