31 #include <mln/core/alias/point2d.hh>
32 #include <mln/core/site_set/p_vertices.hh>
34 #include <mln/util/graph.hh>
35 #include <mln/core/image/graph_elt_neighborhood.hh>
38 unsigned fwd_neighb[] = { 0, 2, 3 };
39 unsigned bkd_neighb[] = { 3, 2, 0 };
65 typedef fun::i2v::array<p_t> F;
96 mln_psite_(pv_t) p(pg, 1);
103 mln_fwd_niter_(nbh_t) fq(nbh, p);
105 mln_assertion(fq.element().
id() == fwd_neighb[i++]);
108 mln_bkd_niter_(nbh_t) bq(nbh, p);
110 mln_assertion(bq.element().
id() == bkd_neighb[i++]);