Graph reduction unit test pass
parent
46c52bc957
commit
adeac28527
|
@ -469,7 +469,7 @@ namespace gtsam { namespace partition {
|
|||
reduceGenericGraph(graph, cameraKeys, landmarkKeys, dictionary, reducedGraph);
|
||||
cout << "original graph: V" << keys.size() << ", E" << graph.size()
|
||||
<< " --> reduced graph: V" << cameraKeys.size() << ", E" << reducedGraph.size() << endl;
|
||||
//result = edgePartitionByMetis(reducedGraph, keyToPartition, workspace, verbose);
|
||||
result = edgePartitionByMetis(reducedGraph, keyToPartition, workspace, verbose);
|
||||
} else // call Metis to partition the graph to A, B, C
|
||||
result = separatorPartitionByMetis(graph, keys, workspace, verbose);
|
||||
|
||||
|
|
|
@ -179,7 +179,7 @@ TEST ( Partition, findSeparator2 )
|
|||
LONGS_EQUAL(-1,workspace.partitionTable[7]);
|
||||
}
|
||||
|
||||
/* *************************************************************************
|
||||
/* *************************************************************************/
|
||||
// l1-l8 l9-l16 l17-l24
|
||||
// / | / \ | \
|
||||
// x25 x26 x27 x28
|
||||
|
|
Loading…
Reference in New Issue