MorphoGraphX
|
Structure maintaining the data for a single neighbor. More...
#include <VVGraph.hpp>
Public Types | |
typedef std::list< neighbor_t > | edge_list_t |
Type of the list of outgoing neighbors. | |
Public Member Functions | |
neighbor_t (const vertex_t &tgt, const EdgeContent &e) | |
Constructor. | |
neighbor_t (const neighbor_t ©) | |
void | clear_edge () |
neighbor_t & | operator= (const neighbor_t ©) |
bool | operator== (const neighbor_t &other) const |
Equality of two neighbors/edge. More... | |
Public Attributes | |
vertex_t | target |
Target of the edge. More... | |
Structure maintaining the data for a single neighbor.
|
inline |
Equality of two neighbors/edge.
A single neighbor is equal to another if the vertex and the content are the same
vertex_t mgx::graph::VVGraph< VertexContent, EdgeContent, Alloc >::neighbor_t::target |
Target of the edge.
i.e. neighbor itself