12 #define _ROM_TYPE_NONE_ "none" 15 #define _LIBROM_INP_FNAME_ "librom.inp" 18 #include <linalg/Vector.h> 40 virtual void takeSample(
const CAROM::Vector&,
const double ) = 0;
42 virtual void train() = 0;
44 virtual const CAROM::Vector*
const predict(
const double )
const = 0;
46 virtual void save(
const std::string& )
const = 0;
48 virtual void load(
const std::string& ) = 0;
Base class defining a ROM object.
virtual void save(const std::string &) const =0
virtual const CAROM::Vector *const predict(const double) const =0
virtual void load(const std::string &)=0
virtual void projectInitialSolution(CAROM::Vector &)=0
virtual void takeSample(const CAROM::Vector &, const double)=0