Graph reduction unit test pass

release/4.3a0
Andrew Melim 2014-02-23 17:47:39 -05:00
parent 46c52bc957
commit adeac28527
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -179,7 +179,7 @@ TEST ( Partition, findSeparator2 )
LONGS_EQUAL(-1,workspace.partitionTable[7]);
}
/* *************************************************************************
/* *************************************************************************/
// l1-l8 l9-l16 l17-l24
// / | / \ | \
// x25 x26 x27 x28