23 #ifndef GUDHI_COST_POLICY_H_
24 #define GUDHI_COST_POLICY_H_
26 #include <boost/optional.hpp>
30 namespace contraction {
38 typedef typename EdgeProfile::Point Point;
39 typedef typename EdgeProfile::Graph_vertex Graph_vertex;
41 typedef boost::optional<double> Cost_type;
43 virtual Cost_type operator()(
const EdgeProfile& profile,
const boost::optional<Point>& placement)
const =0;
Policy to specify the cost of contracting an edge.
Definition: Cost_policy.h:36