23 #ifndef CONTRACTION_POLICIES_FIRST_VERTEX_PLACEMENT_H_ 24 #define CONTRACTION_POLICIES_FIRST_VERTEX_PLACEMENT_H_ 26 #include <gudhi/Contraction/policies/Placement_policy.h> 30 namespace contraction {
35 template<
typename EdgeProfile>
38 typedef typename EdgeProfile::Point Point;
39 typedef typename EdgeProfile::Edge_handle Edge_handle;
41 typedef typename Placement_policy<EdgeProfile>::Placement_type Placement_type;
43 Placement_type operator()(
const EdgeProfile& profile)
const override {
44 return Placement_type(profile.p0());
52 #endif // CONTRACTION_POLICIES_FIRST_VERTEX_PLACEMENT_H_ Places the contracted point onto the first point of the edge.
Definition: First_vertex_placement.h:36
Definition: SimplicialComplexForAlpha.h:26
Policy to specify where the merged point had to be placed after an edge contraction.
Definition: Placement_policy.h:37