1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- #ifndef CERES_INTERNAL_VISIBILITY_H_
- #define CERES_INTERNAL_VISIBILITY_H_
- #include <memory>
- #include <set>
- #include <vector>
- #include "ceres/graph.h"
- #include "ceres/internal/disable_warnings.h"
- #include "ceres/internal/export.h"
- namespace ceres::internal {
- struct CompressedRowBlockStructure;
- CERES_NO_EXPORT void ComputeVisibility(
- const CompressedRowBlockStructure& block_structure,
- int num_eliminate_blocks,
- std::vector<std::set<int>>* visibility);
- CERES_NO_EXPORT std::unique_ptr<WeightedGraph<int>> CreateSchurComplementGraph(
- const std::vector<std::set<int>>& visibility);
- }
- #include "ceres/internal/reenable_warnings.h"
- #endif
|