|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.neural.networks.synapse.BasicSynapse
org.encog.neural.networks.synapse.DirectSynapse
public class DirectSynapse
A direct synapse will present the entire input array to each of the directly connected neurons in the next layer. This layer type is useful when building a radial basis neural network. This synapse type is not teachable.
| Constructor Summary | |
|---|---|
DirectSynapse()
Simple default constructor. |
|
DirectSynapse(Layer fromLayer,
Layer toLayer)
Construct a direct synapse between the two specified layers. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
NeuralData |
compute(NeuralData input)
Compute the output from this synapse. |
Persistor |
createPersistor()
Create a persistor for this type of synapse. |
Matrix |
getMatrix()
Get the weight and threshold matrix. |
int |
getMatrixSize()
Get the size of the matrix, or zero if one is not defined. |
SynapseType |
getType()
|
boolean |
isTeachable()
|
void |
setMatrix(Matrix matrix)
Attempt to set the matrix for this layer. |
| Methods inherited from class org.encog.neural.networks.synapse.BasicSynapse |
|---|
getDescription, getFromLayer, getFromNeuronCount, getName, getToLayer, getToNeuronCount, isSelfConnected, setDescription, setFromLayer, setName, setToLayer, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectSynapse()
public DirectSynapse(Layer fromLayer,
Layer toLayer)
fromLayer - The starting layer.toLayer - The ending layer.| Method Detail |
|---|
public java.lang.Object clone()
clone in interface Synapseclone in class BasicSynapsepublic NeuralData compute(NeuralData input)
input - The input to this synapse.
public Persistor createPersistor()
public Matrix getMatrix()
Synapse
public int getMatrixSize()
Synapse
public SynapseType getType()
public boolean isTeachable()
public void setMatrix(Matrix matrix)
matrix - Not used.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||