WTFIT
OneSkeleton.h
Go to the documentation of this file.
1 
14 #ifndef _ONESKELETON_H
15 #define _ONESKELETON_H
16 
17 #include <map>
18 
19 // base code includes
20 #include <ZeroSkeleton.h>
21 #include <Wrapper.h>
22 
23 namespace wtfit{
24 
25  class OneSkeleton : public Debug{
26 
27  public:
28 
29  OneSkeleton();
30 
31  ~OneSkeleton();
32 
43  int buildEdgeList(const int &vertexNumber, const int &cellNumber,
44  const long long int *cellArray,
45  vector<pair<int, int> > &edgeList) const;
46 
54  int buildEdgeLists(const vector<vector<long long int> > &cellArrays,
55  vector<vector<pair<int, int> > > &edgeLists) const;
56 
57 
87  int buildEdgeStars(const int &vertexNumber, const int &cellNumber,
88  const long long int *cellArray,
89  vector<vector<int> > &starList,
90  vector<pair<int, int> > *edgeList = NULL,
91  vector<vector<int> > *vertexStars = NULL) const;
92 
103  int buildEdgeSubList(
104  const int &cellNumber, const long long int *cellArray,
105  vector<pair<int, int> > &edgeList) const;
106 
107 
108  protected:
109 
110  };
111 }
112 
113 // if the package is not a template, comment the following line
114 // #include <OneSkeleton.cpp>
115 
116 #endif // ONESKELETON_H
OneSkeleton processing package.
Definition: OneSkeleton.h:25
int buildEdgeSubList(const int &cellNumber, const long long int *cellArray, vector< pair< int, int > > &edgeList) const
Definition: OneSkeleton.cpp:293
int buildEdgeList(const int &vertexNumber, const int &cellNumber, const long long int *cellArray, vector< pair< int, int > > &edgeList) const
Definition: OneSkeleton.cpp:13
~OneSkeleton()
Definition: OneSkeleton.cpp:9
Minimalist debugging class.
Definition: Debug.h:39
int buildEdgeStars(const int &vertexNumber, const int &cellNumber, const long long int *cellArray, vector< vector< int > > &starList, vector< pair< int, int > > *edgeList=NULL, vector< vector< int > > *vertexStars=NULL) const
Definition: OneSkeleton.cpp:203
OneSkeleton()
Definition: OneSkeleton.cpp:4
Definition: CommandLineParser.h:13
int buildEdgeLists(const vector< vector< long long int > > &cellArrays, vector< vector< pair< int, int > > > &edgeLists) const
Definition: OneSkeleton.cpp:159