public class FeedForward extends Subnetwork
Constructor and Description |
---|
FeedForward(Network network,
int[] nodesPerLayer,
java.awt.geom.Point2D initialPosition)
Add the layered network to the specified network, with a specified number
of layers and nodes in each layer.
|
FeedForward(Network network,
int[] nodesPerLayer,
java.awt.geom.Point2D initialPosition,
Neuron inputNeuronTemplate)
Construct a feed-forward network.
|
Modifier and Type | Method and Description |
---|---|
void |
addNeuronGroup(NeuronGroup group)
Add a neuron group.
|
int |
getBetweenLayerInterval() |
NeuronGroup |
getInputLayer()
Returns the input layer.
|
java.util.List<Neuron> |
getInputNeurons()
Convenience method for getting the neurons associated with the input
group.
|
NeuronGroup |
getOutputLayer()
Returns the output layer.
|
java.util.List<Neuron> |
getOutputNeurons()
Convenience method for getting the neurons associated with the output
group.
|
java.lang.String |
getUpdateMethodDesecription()
Returns a description of this group's update method, which is displayed
in the update manager panel.
|
void |
setBetweenLayerInterval(int betweenLayerInterval) |
addAndLabelSynapseGroup, addRowToTrainingSet, addSynapseGroup, clearActivations, connectNeuronGroups, connectNeuronGroups, connectNeuronGroups, delete, displayNeuronGroups, getEnabled, getFlatNeuronList, getFlatSynapseList, getIndexOfNeuronGroup, getLongDescription, getModifiableNeuronList, getNeuronGroup, getNeuronGroup, getNeuronGroupByLabel, getNeuronGroupCount, getNeuronGroupList, getNeuronGroupsAsList, getSynapseGroup, getSynapseGroup, getSynapseGroupByLabel, getSynapseGroupCount, getSynapseGroupList, isEmpty, recursivelySetIds, removeNeuronGroup, removeSynapseGroup, setDisplayNeuronGroups, setEnabled, size, toString, update
getId, getLabel, getParentGroup, getParentNetwork, getStateInfo, hasParentGroup, isMarkedForDeletion, isTopLevelGroup, setId, setLabel, setMarkedForDeletion, setParentGroup, setStateInfo
public FeedForward(Network network, int[] nodesPerLayer, java.awt.geom.Point2D initialPosition, Neuron inputNeuronTemplate)
network
- the parent network to which the layered network is being addednodesPerLayer
- an array of integers which determines the number of layers and
neurons in each layer. Integers 1...n in the array correspond
to the number of nodes in layers 1...n.initialPosition
- bottom corner where network will be placed.inputNeuronTemplate
- the type of Neuron to use for the input layerpublic FeedForward(Network network, int[] nodesPerLayer, java.awt.geom.Point2D initialPosition)
network
- the parent network to which the layered network is being addednodesPerLayer
- an array of integers which determines the number of layers and
neurons in each layer. Integers 1...n in the array correspond
to the number of nodes in layers 1...n.initialPosition
- upper left corner where network will be placed.public int getBetweenLayerInterval()
public void setBetweenLayerInterval(int betweenLayerInterval)
betweenLayerInterval
- the betweenLayerInterval to setpublic void addNeuronGroup(NeuronGroup group)
Subnetwork
addNeuronGroup
in class Subnetwork
group
- the neuron group to addpublic NeuronGroup getInputLayer()
public NeuronGroup getOutputLayer()
public java.util.List<Neuron> getInputNeurons()
public java.util.List<Neuron> getOutputNeurons()
public java.lang.String getUpdateMethodDesecription()
Group
getUpdateMethodDesecription
in class Subnetwork