org.encog.persist
Interface EncogPersistor
-
- All Known Implementing Classes:
- PersistART1, PersistBAM, PersistBasicNetwork, PersistBasicPNN, PersistBasicUniverse, PersistBayes, PersistBoltzmann, PersistCPN, PersistHMM, PersistHopfield, PersistNEATPopulation, PersistPrgPopulation, PersistRBFNetwork, PersistSOM, PersistSVM, PersistTrainingContinuation
public interface EncogPersistorThis interface defines an Encog Persistor. An Encog persistor will write an Encog object to an EG file.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intgetFileVersion()java.lang.StringgetPersistClassString()java.lang.Objectread(java.io.InputStream is)Read the object from an input stream.voidsave(java.io.OutputStream os, java.lang.Object obj)Save the object.
-
-
-
Method Detail
-
getPersistClassString
java.lang.String getPersistClassString()
- Returns:
- Get the class string for the object.
-
read
java.lang.Object read(java.io.InputStream is)
Read the object from an input stream.- Parameters:
is- The input stream.- Returns:
- The object.
-
save
void save(java.io.OutputStream os, java.lang.Object obj)Save the object.- Parameters:
os- The output stream to save to.obj- The object to save.
-
getFileVersion
int getFileVersion()
- Returns:
- Get the file version used by this persistor.
-
-
DMelt 3.0 © DataMelt by jWork.ORG