#include <storeable.h>
Inherited by AbstractController, AbstractModel, Layer, Matrix, and QLearning.
Inheritance diagram for Storeable:
Public Member Functions | |
virtual | ~Storeable () |
virtual bool | store (FILE *f) const =0 |
stores the object to the given file stream (binary). | |
virtual bool | restore (FILE *f)=0 |
loads the object from the given file stream (binary). | |
bool | storeToFile (const char *filename) const |
Provided for convenience. | |
bool | restoreFromFile (const char *filename) |
Provided for convenience. |
virtual ~Storeable | ( | ) | [inline, virtual] |
virtual bool restore | ( | FILE * | f | ) | [pure virtual] |
loads the object from the given file stream (binary).
Implemented in AbstractControllerAdapter, AbstractIAFController, AbstractMultiController, BasicController, ClassicReinforce, Elman, FFNNController, InvertMotorBigModel, InvertMotorNStep, InvertMotorSpace, InvertNChannelController, MeasureAdapter, Layer, MultiLayerFFNN, MutualInformationController, OneActiveMultiPassiveController, OneLayerFFNN, QLearning, ReplayController, SineController, SOM, use_java_controller, and Matrix.
bool restoreFromFile | ( | const char * | filename | ) |
Provided for convenience.
restores the object from the file given by filename (binary)
virtual bool store | ( | FILE * | f | ) | const [pure virtual] |
stores the object to the given file stream (binary).
Implemented in AbstractControllerAdapter, AbstractIAFController, AbstractMultiController, BasicController, ClassicReinforce, Elman, FFNNController, InvertMotorBigModel, InvertMotorNStep, InvertMotorSpace, InvertNChannelController, MeasureAdapter, Layer, MultiLayerFFNN, MutualInformationController, OneActiveMultiPassiveController, OneLayerFFNN, QLearning, ReplayController, SineController, SOM, use_java_controller, and Matrix.
bool storeToFile | ( | const char * | filename | ) | const |
Provided for convenience.
Stores the object into a new file with the given filename (binary)