|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.htwdd.rosenkoenig.neuro.net.NeuralNet
public abstract class NeuralNet
This is the abstract class that every neuronal net is supposed to derive from.
| Constructor Summary | |
|---|---|
NeuralNet()
Default ctor. |
|
| Method Summary | |
|---|---|
abstract org.jdom.Element |
createXml()
Create an XML chunk from the net. |
abstract void |
extractNet(org.jdom.Element xmlNet)
Extract the net from the XML chunk given by xmlNet. |
abstract double[] |
getOutput()
Every net must implement a function to return the output of the net. |
static NeuralNet |
loadFromFile(java.lang.String filename)
This function loads a net from a file. |
abstract void |
propagate(double[] pattern)
Every net must implement a function to propagate a pattern through the net. |
void |
saveToFile(java.lang.String filename)
This function saves a net to a file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NeuralNet()
| Method Detail |
|---|
public static NeuralNet loadFromFile(java.lang.String filename)
filename - file to load net from
public final void saveToFile(java.lang.String filename)
filename - file to save net topublic abstract void propagate(double[] pattern)
pattern - the pattern to be propagated through the netpublic abstract double[] getOutput()
public abstract org.jdom.Element createXml()
public abstract void extractNet(org.jdom.Element xmlNet)
xmlNet - the XML chunk that represents this net
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||