1 #ifndef OPALS_INDEX_DESCRIPTION_HPP_INCLUDED
2 #define OPALS_INDEX_DESCRIPTION_HPP_INCLUDED
6 #include "opals/config.hpp"
7 #include "opals/String.hpp"
8 #include "opals/IndexType.hpp"
28 bool isSetDimension()
const;
29 bool isSetType()
const;
30 bool isSetDepth()
const;
31 bool isSetCountNode()
const;
32 bool isSetCountLeaf()
const;
33 bool isSetTileSize()
const;
34 bool isSetObjectsInLeafMin()
const;
35 bool isSetObjectsInLeafMax()
const;
36 bool isSetObjectsInLeafMean()
const;
37 bool isSetObjectsInLeafStd()
const;
39 bool containsPoints()
const;
40 bool containsLines()
const;
41 bool containsPolygons()
const;
43 int getDimension()
const;
46 int getCountNode()
const;
47 int getCountLeaf()
const;
48 double getTileSize()
const;
49 long long getObjectsInLeafMin()
const;
50 long long getObjectsInLeafMax()
const;
51 double getObjectsInLeafMean()
const;
52 double getObjectsInLeafStd()
const;
54 void setGeometries(
bool ContainsPoints,
bool ContainsLines,
bool ContainsPolygons);
56 void setDimension(
const int &Dim);
58 void setDepth(
const int& Depth);
59 void setCountNode(
const int& LeafCount);
60 void setCountLeaf(
const int& LeafCount);
61 void setTileSize(
const double& TileSize);
62 void setObjectsInLeafMin(
const long long& min);
63 void setObjectsInLeafMax(
const long long& max);
64 void setObjectsInLeafMean(
const double& mean);
65 void setObjectsInLeafStd(
const double& stddev);
68 String logIndexDescription()
const;
69 String printIndexDescription()
const;
71 static String printIndexHeader();
83 long long objectsInLeafMin;
84 long long objectsInLeafMax;
85 double objectsInLeafMean;
86 double objectsInLeafStd;
90 #endif //OPALS_INDEX_DESCRIPTION_HPP_INCLUDED