|
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.structure.SynapseComparator
public class SynapseComparator
Used to compare the order of synapses. Allows synapses to be sorted the same way each time. They are sorted from output back to input.
| Constructor Summary | |
|---|---|
SynapseComparator(NeuralStructure structure)
Construct a layer comparator. |
|
| Method Summary | |
|---|---|
int |
compare(Synapse synapse1,
Synapse synapse2)
Compare two layers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public SynapseComparator(NeuralStructure structure)
structure - The structure of the network to use.| Method Detail |
|---|
public int compare(Synapse synapse1,
Synapse synapse2)
compare in interface java.util.Comparator<Synapse>synapse1 - The first layer to compare.synapse2 - The second layer to compare.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||