source:
src/Fragmentation/UniqueFragments.hpp@
7f3f9c
Last change on this file since 7f3f9c was aa91de0, checked in by , 8 years ago | |
---|---|
|
|
File size: 849 bytes |
Rev | Line | |
---|---|---|
[a03d25] | 1 | /* |
2 | * UniqueFragments.hpp | |
3 | * | |
4 | * Created on: Oct 18, 2011 | |
5 | * Author: heber | |
6 | */ | |
7 | ||
8 | #ifndef UNIQUEFRAGMENTS_HPP_ | |
9 | #define UNIQUEFRAGMENTS_HPP_ | |
10 | ||
11 | // include config.h | |
12 | #ifdef HAVE_CONFIG_H | |
13 | #include <config.h> | |
14 | #endif | |
15 | ||
[aa91de0] | 16 | #include <cstddef> |
[a03d25] | 17 | #include <vector> |
18 | ||
19 | class atom; | |
[dadc74] | 20 | class Graph; |
21 | class KeySet; | |
[a03d25] | 22 | |
23 | /** Structure containing all values in power set combination generation. | |
24 | */ | |
25 | class UniqueFragments | |
26 | { | |
27 | public: | |
[d760bb] | 28 | UniqueFragments( |
29 | double _TEFactor, | |
30 | std::vector<Graph*> &Leaflets, | |
31 | atom *_Root); | |
[a03d25] | 32 | ~UniqueFragments(); |
33 | ||
[d760bb] | 34 | void InsertFragmentIntoGraph(const size_t order); // Insert a KeySet into a Graph |
[a03d25] | 35 | void Cleanup(); |
36 | ||
[212c179] | 37 | atom * const getRoot() const; |
[23fb72] | 38 | void setRoot(atom *_root); |
39 | ||
[f6d1d0] | 40 | KeySet *FragmentSet; |
41 | int FragmentCounter; | |
[23fb72] | 42 | |
43 | private: | |
44 | atom *Root; | |
[212c179] | 45 | double TEFactor; |
[d760bb] | 46 | std::vector<Graph*> &Leaflets; |
[a03d25] | 47 | }; |
48 | ||
49 | ||
50 | #endif /* UNIQUEFRAGMENTS_HPP_ */ |
Note:
See TracBrowser
for help on using the repository browser.