|
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
public abstract class BasicSynapse
An abstract class that implements basic functionality that may be needed by the other synapse classes. Specifically this class handles processing the from and to layer, as well as providing a name and description for the EncogPersistedObject.
| Constructor Summary | |
|---|---|
BasicSynapse()
|
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
clone()
|
java.lang.String |
getDescription()
The EncogPersistedObject requires a name and description, however, these are not used on synapses. |
Layer |
getFromLayer()
|
int |
getFromNeuronCount()
|
java.lang.String |
getName()
The EncogPersistedObject requires a name and description, however, these are not used on synapses. |
Layer |
getToLayer()
|
int |
getToNeuronCount()
|
boolean |
isSelfConnected()
|
void |
setDescription(java.lang.String d)
The EncogPersistedObject requires a name and description, however, these are not used on synapses. |
void |
setFromLayer(Layer fromLayer)
Set the from layer for this synapse. |
void |
setName(java.lang.String n)
The EncogPersistedObject requires a name and description, however, these are not used on synapses. |
void |
setToLayer(Layer toLayer)
Set the target layer from this synapse. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.encog.neural.networks.synapse.Synapse |
|---|
compute, getMatrix, getMatrixSize, getType, isTeachable, setMatrix |
| Methods inherited from interface org.encog.persist.EncogPersistedObject |
|---|
createPersistor |
| Constructor Detail |
|---|
public BasicSynapse()
| Method Detail |
|---|
public abstract java.lang.Object clone()
clone in interface Synapseclone in interface EncogPersistedObjectclone in class java.lang.Objectpublic java.lang.String getDescription()
getDescription in interface EncogPersistedObjectpublic Layer getFromLayer()
getFromLayer in interface Synapsepublic int getFromNeuronCount()
getFromNeuronCount in interface Synapsepublic java.lang.String getName()
getName in interface EncogPersistedObjectpublic Layer getToLayer()
getToLayer in interface Synapsepublic int getToNeuronCount()
getToNeuronCount in interface Synapsepublic boolean isSelfConnected()
isSelfConnected in interface Synapsepublic void setDescription(java.lang.String d)
setDescription in interface EncogPersistedObjectd - Not used.public void setFromLayer(Layer fromLayer)
setFromLayer in interface SynapsefromLayer - The from layer for this synapse.public void setName(java.lang.String n)
setName in interface EncogPersistedObjectn - Not used.public void setToLayer(Layer toLayer)
setToLayer in interface SynapsetoLayer - The target layer from this synapse.public java.lang.String toString()
toString in class java.lang.Object
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||