java.lang.Object
Synapsim.core.Block
Synapsim.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
| 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 |
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
FeedForwardPropagationNetwork
public FeedForwardPropagationNetwork()
FeedForwardPropagationNetwork
public FeedForwardPropagationNetwork(java.lang.String name,
Synapsim.core.BlockCollection blockcollection)
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