SkelGIS
3.0
|
second specialization of DPMap_Nodes More...
#include <dpmap_nodes.hpp>
Public Types | |
typedef DPMap_Nodes_impl< DD, T, 0 > | impl_type |
Public Member Functions | |
DPMap_Nodes (DD &dag, const char *file) | |
constructor of DPMap_Nodes | |
DPMap_Nodes (DD &dag, T val) | |
constructor of DPMap_Nodes | |
DPMap_Nodes (DPMap_Nodes_impl< DD, T, 0 > *p) | |
constructor from a DPMap_Nodes_impl pointer | |
~DPMap_Nodes () | |
destructor of DPMap_Nodes | |
DPMap_Nodes_impl< DD, T, 0 > * | getDPMap () |
to get the pointer on dpmap_impl | |
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 () |
to get the begin iterator on inside nodes (i.e. nodes that are not roots or leafs = loc and comm nodes) | |
iterator_dag | end () |
to get the end iterator on inside nodes (i.e. nodes that are not roots or leafs = loc and comm nodes) | |
T & | operator[] (iterator_dag it) |
to get the value of the property map at the iterator position | |
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 | |
Protected Attributes | |
bool | ptr_const |
DPMap_Nodes_impl< DD, T, 0 > * | dpmap |
second specialization of DPMap_Nodes
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 node_access is specialized to the value 0
Definition at line 236 of file dpmap_nodes.hpp.
skelgis::DPMap_Nodes< DD, T, 0 >::DPMap_Nodes | ( | DD & | dag, |
const char * | file | ||
) | [inline] |
constructor of DPMap_Nodes
dag | is the DDAG object associated to this map |
file | is the file with initial values of nodes wanted (each line is the value of the node "number of this line" associated in the .dot file) |
Definition at line 253 of file dpmap_nodes.hpp.
skelgis::DPMap_Nodes< DD, T, 0 >::DPMap_Nodes | ( | DD & | 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 264 of file dpmap_nodes.hpp.
skelgis::DPMap_Nodes< DD, T, 0 >::DPMap_Nodes | ( | DPMap_Nodes_impl< DD, T, 0 > * | p | ) | [inline] |
constructor from a DPMap_Nodes_impl pointer
pointer | to a DPMap_Nodes_impl |
Definition at line 274 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::begin | ( | ) | [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 357 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::begin_comm | ( | ) | [inline] |
to get the begin iterator on nodes with communication with other processors
Definition at line 329 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::begin_leafs | ( | ) | [inline] |
to get the begin iterator on leafs nodes
Definition at line 315 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::begin_loc | ( | ) | [inline] |
to get the begin iterator on nodes without communication with other processors
Definition at line 343 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::begin_roots | ( | ) | [inline] |
to get the begin iterator on roots nodes
Definition at line 301 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::end | ( | ) | [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 364 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::end_comm | ( | ) | [inline] |
to get the end iterator on nodes with communication with other processors
Definition at line 336 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::end_leafs | ( | ) | [inline] |
to get the end iterator on leafs nodes
Definition at line 322 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::end_loc | ( | ) | [inline] |
to get the end iterator on nodes without communication with other processors
Definition at line 350 of file dpmap_nodes.hpp.
iterator_dag skelgis::DPMap_Nodes< DD, T, 0 >::end_roots | ( | ) | [inline] |
to get the end iterator on roots nodes
Definition at line 308 of file dpmap_nodes.hpp.
DPMap_Nodes_impl<DD,T,0>* skelgis::DPMap_Nodes< DD, T, 0 >::getDPMap | ( | ) | [inline] |
to get the pointer on dpmap_impl
Definition at line 294 of file dpmap_nodes.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes< DD, T, 0 >::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 379 of file dpmap_nodes.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes< DD, T, 0 >::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 395 of file dpmap_nodes.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes< DD, T, 0 >::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 387 of file dpmap_nodes.hpp.
std::vector<iterator_dag> skelgis::DPMap_Nodes< DD, T, 0 >::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 403 of file dpmap_nodes.hpp.
T& skelgis::DPMap_Nodes< DD, T, 0 >::operator[] | ( | iterator_dag | it | ) | [inline] |
to get the value of the property map at the iterator position
Definition at line 371 of file dpmap_nodes.hpp.