OpenFPM  5.2.0
Project that contain the implementation of distributed structures
edge_key Class Reference

Public Member Functions

void begin ()
 Reset the counter.
 
size_t & source ()
 Get the source id of this edge. More...
 
size_t & target_t ()
 Return the target of this edge. More...
 

Data Fields

size_t pos
 Actual source node.
 
size_t pos_e
 Actual target node.
 

Detailed Description

Definition at line 119 of file map_graph.hpp.

Member Function Documentation

◆ source()

size_t& edge_key::source ( )
inline

Get the source id of this edge.

Returns
the source of this edge

Definition at line 145 of file map_graph.hpp.

◆ target_t()

size_t& edge_key::target_t ( )
inline

Return the target of this edge.

Returns
the target of this edge

Definition at line 156 of file map_graph.hpp.


The documentation for this class was generated from the following file: