11 #ifndef CONTRACTION_POLICIES_FIRST_VERTEX_PLACEMENT_H_
12 #define CONTRACTION_POLICIES_FIRST_VERTEX_PLACEMENT_H_
14 #include <gudhi/Contraction/policies/Placement_policy.h>
18 namespace contraction {
23 template<
typename EdgeProfile>
26 typedef typename EdgeProfile::Point Point;
27 typedef typename EdgeProfile::Edge_handle Edge_handle;
29 typedef typename Placement_policy<EdgeProfile>::Placement_type Placement_type;
31 Placement_type operator()(
const EdgeProfile& profile)
const override {
32 return Placement_type(profile.p0());
40 #endif // CONTRACTION_POLICIES_FIRST_VERTEX_PLACEMENT_H_