|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.neural.pnn.PersistBasicPNN
public class PersistBasicPNN
Persist a PNN.
Field Summary | |
---|---|
static String |
PROPERTY_outputMode
The output mode property. |
Constructor Summary | |
---|---|
PersistBasicPNN()
|
Method Summary | |
---|---|
int |
getFileVersion()
|
String |
getPersistClassString()
|
static String |
kernelToString(PNNKernelType k)
Convert a kernel type to a string. |
static String |
outputModeToString(PNNOutputMode mode)
Convert output mode to string. |
Object |
read(InputStream is)
Read the object from an input stream. |
void |
save(OutputStream os,
Object obj)
Save the object. |
static PNNKernelType |
stringToKernel(String k)
Convert a string to a PNN kernel. |
static PNNOutputMode |
stringToOutputMode(String mode)
Convert a string to a PNN output mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROPERTY_outputMode
Constructor Detail |
---|
public PersistBasicPNN()
Method Detail |
---|
public static String kernelToString(PNNKernelType k)
k
- The kernel type.
public static String outputModeToString(PNNOutputMode mode)
mode
- The output mode.
public static PNNKernelType stringToKernel(String k)
k
- The string.
public static PNNOutputMode stringToOutputMode(String mode)
mode
- The string.
public int getFileVersion()
getFileVersion
in interface EncogPersistor
public String getPersistClassString()
getPersistClassString
in interface EncogPersistor
public Object read(InputStream is)
read
in interface EncogPersistor
is
- The input stream.
public void save(OutputStream os, Object obj)
save
in interface EncogPersistor
os
- The output stream to save to.obj
- The object to save.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |