Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 using namespace std;
00022
00023 #ifndef BIPARTITEGRAPHPARTIALCOLORINGINTERFACE_H
00024 #define BIPARTITEGRAPHPARTIALCOLORINGINTERFACE_H
00025
00026 namespace ColPack
00027 {
00037 class BipartiteGraphPartialColoringInterface : public BipartiteGraphPartialColoring
00038 {
00039 public:
00040
00042
00079 BipartiteGraphPartialColoringInterface(int i_type, ...);
00080
00082
00101 int PartialDistanceTwoColoring(string s_OrderingVariant = "NATURAL", string s_ColoringVariant = "COLUMN_PARTIAL_DISTANCE_TWO");
00102
00104
00124 void GenerateSeedJacobian(double*** dp3_seed, int *ip1_SeedRowCount, int *ip1_SeedColumnCount, string s_OrderingVariant="NATURAL", string s_ColoringVariant = "COLUMN_PARTIAL_DISTANCE_TWO");
00125
00126
00128
00131 void GenerateSeedJacobian_unmanaged(double*** dp3_seed, int *ip1_SeedRowCount, int *ip1_SeedColumnCount, string s_OrderingVariant="NATURAL", string s_ColoringVariant = "COLUMN_PARTIAL_DISTANCE_TWO");
00132
00134 double** GetSeedMatrix(int* ip1_SeedRowCount, int* ip1_SeedColumnCount);
00135
00136 void GetOrderedVertices(vector<int> &output);
00137 private:
00138
00139 Timer m_T_Timer;
00140
00141 public:
00142
00143
00144 ~BipartiteGraphPartialColoringInterface();
00145
00146
00147 void Clear();
00148
00149
00150 void Reset();
00151
00152 };
00153 }
00154 #endif
00155