SummarizeOrdering -> OrderingToGroupSizes

Change-Id: I6f852811c6d3812865b1da5cb94272cdf3fa4a38
This commit is contained in:
Sameer Agarwal
2014-05-29 22:49:27 -07:00
parent 3a783ac408
commit a2df262441
3 changed files with 31 additions and 32 deletions
@@ -78,6 +78,11 @@ void ComputeRecursiveIndependentSetOrdering(const Program& program,
// parameter blocks, if they co-occur in a residual block.
Graph<ParameterBlock*>* CreateHessianGraph(const Program& program);
// Iterate over each of the groups in order of their priority and fill
// summary with their sizes.
void OrderingToGroupSizes(const ParameterBlockOrdering* ordering,
vector<int>* group_sizes);
} // namespace internal
} // namespace ceres