com.marmoush.jann.sv
Class SvNeuralNetwork

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<SvLayer>
              extended by com.marmoush.jann.sv.SvNeuralNetwork
All Implemented Interfaces:
Serializable, Cloneable, Iterable<SvLayer>, Collection<SvLayer>, List<SvLayer>, RandomAccess
Direct Known Subclasses:
FeedForwardSvNet

public class SvNeuralNetwork
extends ArrayList<SvLayer>

The Class SvNeuralNetwork.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SvNeuralNetwork()
          Instantiates a new sv neural network.
SvNeuralNetwork(Collection<? extends SvLayer> c)
          Instantiates a new sv neural network.
SvNeuralNetwork(int initialCapacity)
          Instantiates a new sv neural network.
SvNeuralNetwork(NeuralDirectedGraph neuralGraph)
          Instantiates a new sv neural network.
 
Method Summary
 DoubleMatrix getInputsConcatenatedForLayer(int layerIdx)
          Gets the inputs concatenated for layer.
 NeuralDirectedGraph getNeuralGraph()
          Gets the neural graph.
 void init(NeuralDirectedGraph neuralGraph)
          Inits the.
 void setNeuralGraph(NeuralDirectedGraph neuralGraph)
          Sets the neural graph.
 void simulate()
          Simulate.
 String toString()
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

SvNeuralNetwork

public SvNeuralNetwork()
Instantiates a new sv neural network.


SvNeuralNetwork

public SvNeuralNetwork(Collection<? extends SvLayer> c)
Instantiates a new sv neural network.

Parameters:
c - the c

SvNeuralNetwork

public SvNeuralNetwork(int initialCapacity)
Instantiates a new sv neural network.

Parameters:
initialCapacity - the initial capacity

SvNeuralNetwork

public SvNeuralNetwork(NeuralDirectedGraph neuralGraph)
Instantiates a new sv neural network.

Parameters:
neuralGraph - the neural graph
Method Detail

getInputsConcatenatedForLayer

public DoubleMatrix getInputsConcatenatedForLayer(int layerIdx)
Gets the inputs concatenated for layer.

Parameters:
layerIdx - the layer idx
Returns:
the inputs concatenated for layer

getNeuralGraph

public NeuralDirectedGraph getNeuralGraph()
Gets the neural graph.

Returns:
the neural graph

init

public void init(NeuralDirectedGraph neuralGraph)
Inits the.

Parameters:
neuralGraph - the neural graph

setNeuralGraph

public void setNeuralGraph(NeuralDirectedGraph neuralGraph)
Sets the neural graph.

Parameters:
neuralGraph - the new neural graph

simulate

public void simulate()
Simulate.


toString

public String toString()
Overrides:
toString in class AbstractCollection<SvLayer>


Copyright © 2011-2012 Marmoush.com. All Rights Reserved.