SkelGIS
3.0
|
first specialization of DPMap_Nodes_impl More...
#include <dpmap_nodes_impl.hpp>
Public Member Functions | |
DPMap_Nodes_impl (DDAG< nodes, edges > &dag, const char *file) | |
constructor | |
DPMap_Nodes_impl (DDAG< nodes, edges > &dag, T val) | |
constructor of DPMap_Nodes | |
~DPMap_Nodes_impl () | |
destructor of DPMap_Nodes | |
iterator_dag | begin_roots () |
to get the begin iterator on roots nodes | |
iterator_dag | end_roots () |
to get the end iterator on roots nodes | |
iterator_dag | begin_leafs () |
to get the begin iterator on leafs nodes | |
iterator_dag | end_leafs () |
to get the end iterator on leafs nodes | |
iterator_dag | begin_comm () |
to get the begin iterator on nodes with communication with other processors | |
iterator_dag | end_comm () |
to get the end iterator on nodes with communication with other processors | |
iterator_dag | begin_loc () |
to get the begin iterator on nodes without communication with other processors | |
iterator_dag | end_loc () |
to get the end iterator on nodes without communication with other processors | |
iterator_dag | begin_in () |
to get the begin iterator on inside nodes (i.e. nodes that are not roots or leafs = loc and comm nodes) | |
iterator_dag | end_in () |
to get the end iterator on inside nodes (i.e. nodes that are not roots or leafs = loc and comm nodes) | |
iterator_dag | begin_all () |
to get the begin iterator on all nodes (roots, leafs, comm and loc) | |
iterator_dag | end_all () |
to get the end iterator on all nodes (roots, leafs, comm and loc) | |
std::vector< iterator_dag > | getInEdges (iterator_dag it) |
to get a vector of iterator on input edges for the node it | |
std::vector< iterator_dag > | getOutEdges (iterator_dag it) |
to get a vector of iterator on output edges for the node it | |
std::vector< iterator_dag > | getInNodes (iterator_dag it) |
to get a vector of iterator on input nodes for the node it | |
std::vector< iterator_dag > | getOutNodes (iterator_dag it) |
to get a vector of iterator on output nodes for the node it | |
Public Attributes | |
unsigned int | dim_node |
unsigned int | dim_tor |
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< nodes, edges > * | ddag |
first specialization of DPMap_Nodes_impl
nodes | is inheritate from DDAG and needed as a DDAG is gonna be referenced |
edges | is inheritate from DDAG and needed as a DDAG is gonna be referenced |
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 1 The size is used with its default value 1
Definition at line 40 of file dpmap_nodes_impl.hpp.
skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::DPMap_Nodes_impl | ( | DDAG< nodes, edges > & | 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 nodes (each line is the value of the node "number of this line" associated in the .dot file) |
Definition at line 116 of file dpmap_nodes_impl.hpp.
skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::DPMap_Nodes_impl | ( | DDAG< nodes, edges > & | dag, |
T | val | ||
) | [inline] |
constructor of DPMap_Nodes
dag | is the DDAG object associated to this map |
val | is the default value of nodes for the map |
Definition at line 130 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::begin_all | ( | ) | [inline] |
to get the begin iterator on all nodes (roots, leafs, comm and loc)
Definition at line 223 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::begin_comm | ( | ) | [inline] |
to get the begin iterator on nodes with communication with other processors
Definition at line 181 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::begin_in | ( | ) | [inline] |
to get the begin iterator on inside nodes (i.e. nodes that are not roots or leafs = loc and comm nodes)
Definition at line 209 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::begin_leafs | ( | ) | [inline] |
to get the begin iterator on leafs nodes
Definition at line 167 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::begin_loc | ( | ) | [inline] |
to get the begin iterator on nodes without communication with other processors
Definition at line 195 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::begin_roots | ( | ) | [inline] |
to get the begin iterator on roots nodes
Definition at line 153 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::end_all | ( | ) | [inline] |
to get the end iterator on all nodes (roots, leafs, comm and loc)
Definition at line 230 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::end_comm | ( | ) | [inline] |
to get the end iterator on nodes with communication with other processors
Definition at line 188 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::end_in | ( | ) | [inline] |
to get the end iterator on inside nodes (i.e. nodes that are not roots or leafs = loc and comm nodes)
Definition at line 216 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::end_leafs | ( | ) | [inline] |
to get the end iterator on leafs nodes
Definition at line 174 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::end_loc | ( | ) | [inline] |
to get the end iterator on nodes without communication with other processors
Definition at line 202 of file dpmap_nodes_impl.hpp.
iterator_dag skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::end_roots | ( | ) | [inline] |
to get the end iterator on roots nodes
Definition at line 160 of file dpmap_nodes_impl.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::getInEdges | ( | iterator_dag | it | ) | [inline] |
to get a vector of iterator on input edges for the node it
it | is the iterator on the node to get input edges |
Definition at line 238 of file dpmap_nodes_impl.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::getInNodes | ( | iterator_dag | it | ) | [inline] |
to get a vector of iterator on input nodes for the node it
it | is the iterator on the node to get input nodes |
Definition at line 254 of file dpmap_nodes_impl.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::getOutEdges | ( | iterator_dag | it | ) | [inline] |
to get a vector of iterator on output edges for the node it
it | is the iterator on the node to get output edges |
Definition at line 246 of file dpmap_nodes_impl.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::getOutNodes | ( | iterator_dag | it | ) | [inline] |
to get a vector of iterator on output nodes for the node it
it | is the iterator on the node to get output nodes |
Definition at line 262 of file dpmap_nodes_impl.hpp.
void skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::init | ( | const char * | file | ) | [inline, protected] |
init function with values in file
file | is the file of intial values for this property on nodes (each line is the value of the node "number of this line" associated in the .dot file) |
Definition at line 76 of file dpmap_nodes_impl.hpp.
void skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::init | ( | T | val | ) | [inline, protected] |
init function with default value
val | is the value to intiate nodes to |
Definition at line 90 of file dpmap_nodes_impl.hpp.
void skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::read | ( | const char * | file | ) | [inline, protected] |
to read input initialize file
file | is the file of intial values for this property on nodes (each line is the value of the node "number of this line" associated in the .dot file) |
Definition at line 53 of file dpmap_nodes_impl.hpp.
DDAG_impl<nodes,edges>* skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::ddag [protected] |
< ddag is the pointer to the ddag data structure the property is mapped on
Definition at line 45 of file dpmap_nodes_impl.hpp.
unsigned int skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::dim_node |
< dim_node is the number of local nodes dim_tor is the number of additionnal nodes to receive
Definition at line 104 of file dpmap_nodes_impl.hpp.
unsigned int skelgis::DPMap_Nodes_impl< nodes, edges, T, 1 >::dim_tor |
data mapped on nodes of the ddag
Definition at line 106 of file dpmap_nodes_impl.hpp.