Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::detail::parallel::edge_descriptor< Edge > Struct Template Reference

A distributed edge descriptor. More...

#include <adjacency_list.hpp>

Classes

class  in_generator
 Function object that generates edge descriptors for the in_edge_iterator of the given distributed adjacency list from the edge descriptors of the underlying adjacency list. More...
 
class  out_generator
 Function object that generates edge descriptors for the out_edge_iterator of the given distributed adjacency list from the edge descriptors of the underlying adjacency list. More...
 

Public Member Functions

 edge_descriptor (processor_id_type sp=processor_id_type(), processor_id_type tp=processor_id_type(), bool owns=false, Edge ld=Edge())
 
processor_id_type owner () const
 

Public Attributes

processor_id_type source_processor
 The processor that the source vertex resides on. More...
 
processor_id_type target_processor
 The processor that the target vertex resides on. More...
 
bool source_owns_edge
 True when the source processor owns the edge, false when the target processor owns the edge. More...
 
Edge local
 The local edge descriptor. More...
 

Friends

class boost::serialization::access
 

Detailed Description

template<typename Edge>
struct boost::detail::parallel::edge_descriptor< Edge >

A distributed edge descriptor.

These descriptors contain the underlying edge descriptor, the processor IDs for both the source and the target of the edge, and a boolean flag that indicates which of the processors actually owns the edge.

Constructor & Destructor Documentation

template<typename Edge>
boost::detail::parallel::edge_descriptor< Edge >::edge_descriptor ( processor_id_type  sp = processor_id_type(),
processor_id_type  tp = processor_id_type(),
bool  owns = false,
Edge  ld = Edge() 
)
inline

Member Function Documentation

Friends And Related Function Documentation

template<typename Edge>
friend class boost::serialization::access
friend

Member Data Documentation

template<typename Edge>
bool boost::detail::parallel::edge_descriptor< Edge >::source_owns_edge

True when the source processor owns the edge, false when the target processor owns the edge.

Referenced by boost::detail::parallel::edge_descriptor< Edge >::owner(), and boost::detail::parallel::owner().


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