rasdaman complete source
qtmddcfgop.hh
Go to the documentation of this file.
1 /*
2 * This file is part of rasdaman community.
3 *
4 * Rasdaman community is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * Rasdaman community is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann /
18 rasdaman GmbH.
19 *
20 * For more information please see <http://www.rasdaman.org>
21 * or contact Peter Baumann via <baumann@rasdaman.com>.
22 */
23 
24 /*************************************************************
25  *
26  * CHANGE HISTORY (append further entries):
27  * when who what
28  * ----------------------------------------------------------
29  * 10-11-08 Shams Created the class
30  * COMMENTS:
31  *
32  ************************************************************/
33 #ifndef _QTMDDCFGOP_HH_
34 #define _QTMDDCFGOP_HH_
35 
36 #include <iostream>
37 #ifndef CPPSTDLIB
38 #include <ospace/string.h> // STL<ToolKit>
39 #else
40 #include <string>
41 using namespace std;
42 #endif
43 #include<fstream>
44 #include "qlparser/qtconst.hh"
45 #include "qlparser/qtmddconfig.hh"
47 
48 
49 class QtMddCfgOp: public QtOperation
50 {
51 private:
52  QtMDDConfig* mddCfgObj;
53  QtOperation* input;
54 
55 public:
56 
57  QtMddCfgOp();
58  ~QtMddCfgOp();
59 
60  QtMddCfgOp( QtOperation* inputInit );
61 
62  QtMddCfgOp( int tilingType, int tileSize, int borderThreshold,
63  double interestThreshold, QtOperation* tileCfg, QtNode::QtOperationList* box,std::vector<r_Dir_Decompose>* dDecomp,
64  int indexType);
65 
66  QtMddCfgOp( int tilingType, int tileSize, int borderThreshold,
67  double interestThreshold, QtOperation* tileCfg, QtNode::QtOperationList* box,std::vector<r_Dir_Decompose>* dDecomp);
68 
69  QtMddCfgOp(int index);
70 
71  void optimizeLoad( QtTrimList* trimList );
72 
73  QtMDDConfig* evaluate(QtDataList* inputList);
74 
75  QtMDDConfig* getMddConfig();
76 };
77 
78 #endif
std::vector< QtData * > QtDataList
list of QtData pointers
Definition: qtnode.hh:77
std::vector< QtTrimElement * > QtTrimList
list of QtTrimData structures
Definition: qtnode.hh:88
Definition: qtmddconfig.hh:49
Definition: qtoperation.hh:57
std::vector< QtOperation * > QtOperationList
list of QtOperation pointers
Definition: qtnode.hh:194
Definition: qtmddcfgop.hh:49