|
Milena (Olena)
User documentation 2.0a Id
|
#include <edge.hh>
Inherits mln::util::internal::edge_impl_< G >.
Public Types | |
| typedef Edge< void > | category |
| Object category. | |
| typedef G | graph_t |
| Graph associated type. | |
| typedef edge_id_t | id_t |
| The edge type id. | |
| typedef edge_id_t::value_t | id_value_t |
| The underlying type used to store edge ids. | |
Public Member Functions | |
| edge () | |
| Constructors. | |
| bool | is_valid () const |
| Misc. | |
| void | invalidate () |
| Invalidate that vertex. | |
| edge_id_t | id () const |
| Return the edge id. | |
| void | update_id (const edge_id_t &id) |
Set id_ with id;. | |
| operator edge_id_t () const | |
| Conversion to the edge id. | |
| const G & | graph () const |
| Return a reference to the graph holding this edge. | |
| void | change_graph (const G &g) |
Set g_ with g;. | |
| vertex_id_t | v_other (const vertex_id_t &id_v) const |
| Vertex and edges oriented. | |
| vertex_id_t | v1 () const |
| Edge oriented. | |
| vertex_id_t | v2 () const |
| Return the highest vertex id adjacent to this edge. | |
| size_t | nmax_nbh_edges () const |
| Return the number max of adjacent edges. | |
| edge_id_t | ith_nbh_edge (unsigned i) const |
Return the i th adjacent edge. | |
Edge of a graph G.
| typedef Edge<void> mln::util::edge< G >::category |
| typedef G mln::util::edge< G >::graph_t |
| typedef edge_id_t mln::util::edge< G >::id_t |
| typedef edge_id_t::value_t mln::util::edge< G >::id_value_t |
|
inline |
Return a reference to the graph holding this edge.
Definition at line 282 of file edge.hh.
Referenced by mln::p_edges< G, F >::has(), and mln::util::line_graph< G >::has().
Return the edge id.
Definition at line 259 of file edge.hh.
Referenced by mln::util::line_graph< G >::has().
|
inline |
|
inline |
Misc.
Return whether is points to a known edge.
Definition at line 298 of file edge.hh.
Referenced by mln::p_edges< G, F >::has().
|
inline |
|
inline |
|
inline |
|
inline |