19 #ifndef INCLUDEDCORPUSH
20 #define INCLUDEDCORPUSH
27 #include <QDomDocument>
48 void erase(
int dimension = 0);
53 bool load(
string file,
bool verbose =
false);
55 void write(
string file);
62 unsigned int size()
const;
64 unsigned int dimension()
const;
67 double*
elem(
unsigned int index)
const {
return mPool[index]; }
69 std::string
name(
unsigned int index)
const {
return mNames[index]; }
71 void addElem(
double* elem, std::string name =
"");
73 std::vector<double> bounds()
const;
82 std::vector<std::string> mNames;