SkelGIS
3.0
|
second specialization of DPMap_Edges_impl More...
#include <dpmap_edges_impl.hpp>
Public Member Functions | |
DPMap_Edges_impl (DD &dag, const char *file) | |
constructor | |
DPMap_Edges_impl (DD &dag, T val) | |
constructor of DPMap_Edges | |
~DPMap_Edges_impl () | |
destructor of DPMap_Edges | |
iterator_dag | begin () |
to get the begin iterator on edges | |
iterator_dag | end () |
to get the end iterator on edges | |
iterator_dag | getSrcNode (iterator_dag it) |
to get an iterator on the source node of the edge | |
iterator_dag | getDstNode (iterator_dag it) |
to get an iterator on the destination node of the edge | |
void | start_communications () |
start the communication process for the dpmap_edges property | |
void | end_communications () |
end the communication process for the dpmap_edges property | |
Public Attributes | |
unsigned int | dim_edge |
T * | data |
Protected Member Functions | |
void | read (const char *file) |
to read input initialize file | |
void | init (const char *file) |
init function with values in file | |
void | init (T val) |
init function with default value | |
Protected Attributes | |
DDAG_impl< DD::nod, DD::edg > * | ddag |
second specialization of DPMap_Edges_impl
DD | is the type of the DDAG |
T | is the type of data in the property map |
The type T is a simple type in this case as float, double, int etc. The overlap is specialized to the value 0
Definition at line 269 of file dpmap_edges_impl.hpp.
skelgis::DPMap_Edges_impl< DD, T, 0 >::DPMap_Edges_impl | ( | DD & | dag, |
const char * | file | ||
) | [inline] |
constructor
dag | is the DDAG the property is going to mapped |
file | is the file of intial values for this property on edges (each line is the value of the edge "number of this line" associated in the .dot file) |
Definition at line 343 of file dpmap_edges_impl.hpp.
skelgis::DPMap_Edges_impl< DD, T, 0 >::DPMap_Edges_impl | ( | DD & | dag, |
T | val | ||
) | [inline] |
constructor of DPMap_Edges
dag | is the DDAG object associated to this map |
val | is the default value of edges for the map |
Definition at line 357 of file dpmap_edges_impl.hpp.
iterator_dag skelgis::DPMap_Edges_impl< DD, T, 0 >::begin | ( | ) | [inline] |
to get the begin iterator on edges
Definition at line 380 of file dpmap_edges_impl.hpp.
iterator_dag skelgis::DPMap_Edges_impl< DD, T, 0 >::end | ( | ) | [inline] |
to get the end iterator on edges
Definition at line 387 of file dpmap_edges_impl.hpp.
void skelgis::DPMap_Edges_impl< DD, T, 0 >::end_communications | ( | ) | [inline] |
end the communication process for the dpmap_edges property
wait for the end of non-blocking communications put received values in the dpmap_edges property
Definition at line 417 of file dpmap_edges_impl.hpp.
iterator_dag skelgis::DPMap_Edges_impl< DD, T, 0 >::getDstNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the destination node of the edge
Definition at line 401 of file dpmap_edges_impl.hpp.
iterator_dag skelgis::DPMap_Edges_impl< DD, T, 0 >::getSrcNode | ( | iterator_dag | it | ) | [inline] |
to get an iterator on the source node of the edge
Definition at line 394 of file dpmap_edges_impl.hpp.
void skelgis::DPMap_Edges_impl< DD, T, 0 >::init | ( | const char * | file | ) | [inline, protected] |
init function with values in file
file | is the file of intial values for this property on edges (each line is the value of the node "number of this line" associated in the .dot file) |
Definition at line 305 of file dpmap_edges_impl.hpp.
void skelgis::DPMap_Edges_impl< DD, T, 0 >::init | ( | T | val | ) | [inline, protected] |
init function with default value
val | is the value to intiate edges to |
Definition at line 318 of file dpmap_edges_impl.hpp.
void skelgis::DPMap_Edges_impl< DD, T, 0 >::read | ( | const char * | file | ) | [inline, protected] |
to read input initialize file
file | is the file of intial values for this property on edges (each line is the value of the edge "number of this line" associated in the .dot file) |
Definition at line 282 of file dpmap_edges_impl.hpp.
void skelgis::DPMap_Edges_impl< DD, T, 0 >::start_communications | ( | ) | [inline] |
start the communication process for the dpmap_edges property
prepare data to send launch non blocking MPI communications
Definition at line 409 of file dpmap_edges_impl.hpp.
DDAG_impl<DD::nod,DD::edg>* skelgis::DPMap_Edges_impl< DD, T, 0 >::ddag [protected] |
< ddag is the pointer to the ddag data structure the property is mapped on
Definition at line 274 of file dpmap_edges_impl.hpp.
unsigned int skelgis::DPMap_Edges_impl< DD, T, 0 >::dim_edge |
< dim_edge is the number of local edges data mapped on edges of the ddag
Definition at line 333 of file dpmap_edges_impl.hpp.