11 #ifndef CONTRACTION_POLICIES_COST_POLICY_H_ 12 #define CONTRACTION_POLICIES_COST_POLICY_H_ 14 #include <boost/optional.hpp> 18 namespace contraction {
24 template<
typename EdgeProfile>
27 typedef typename EdgeProfile::Point Point;
28 typedef typename EdgeProfile::Graph_vertex Graph_vertex;
30 typedef boost::optional<double> Cost_type;
32 virtual Cost_type operator()(
const EdgeProfile& profile,
const boost::optional<Point>& placement)
const = 0;
41 #endif // CONTRACTION_POLICIES_COST_POLICY_H_ Definition: SimplicialComplexForAlpha.h:14
Policy to specify the cost of contracting an edge.
Definition: Cost_policy.h:25