Go to Overview over all GrAL packages.
Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PartitionsByVertex Class Template Reference
[Data structures for grid partitionings]

Mapping Vertices -> Set of partitions. More...

#include <partitioning.h>

Collaboration diagram for PartitionsByVertex:

Collaboration graph
[legend]
List of all members.

Public Types

typedef Partition::grid_type grid_type
typedef grid_types< grid_typegt
typedef gt::Vertex Vertex
typedef Partition partitioning_type
typedef vector< int >::const_iterator PartitionOfVertexIterator

Public Methods

 PartitionsByVertex (const Partition &Prtng)
void calculate_vertex_partitions ()
partitioning_type const & ThePartitioning () const
PartitionOfVertexIterator begin (Vertex const &v) const
PartitionOfVertexIterator end (Vertex const &v) const

Detailed Description

template<class Partition>
class PartitionsByVertex< Partition >

Mapping Vertices -> Set of partitions.

This data structure gives the set of partitions a vertex belongs to (in a cell-based partitioning, e.g. partitioning<Grid>).

Definition at line 224 of file partitioning.h.


Member Typedef Documentation

template<class Partition>
typedef Partition::grid_type PartitionsByVertex::grid_type
 

Definition at line 226 of file partitioning.h.

template<class Partition>
typedef grid_types<grid_type> PartitionsByVertex::gt
 

Definition at line 227 of file partitioning.h.

template<class Partition>
typedef gt::Vertex PartitionsByVertex::Vertex
 

Definition at line 228 of file partitioning.h.

Referenced by begin, and end.

template<class Partition>
typedef Partition PartitionsByVertex::partitioning_type
 

Definition at line 230 of file partitioning.h.

Referenced by ThePartitioning.

template<class Partition>
typedef vector<int>::const_iterator PartitionsByVertex::PartitionOfVertexIterator
 

Definition at line 249 of file partitioning.h.

Referenced by begin, and end.


Constructor & Destructor Documentation

template<class Partition>
PartitionsByVertex< Partition >::PartitionsByVertex const Partition &    Prtng [inline]
 

Definition at line 238 of file partitioning.h.

References calculate_vertex_partitions.


Member Function Documentation

template<class Partition>
void PartitionsByVertex< Partition >::calculate_vertex_partitions  
 

Definition at line 120 of file partitioning.C.

References collect_vertex_partitions, and ThePartitioning.

Referenced by PartitionsByVertex.

template<class Partition>
partitioning_type const& PartitionsByVertex< Partition >::ThePartitioning   const [inline]
 

Definition at line 245 of file partitioning.h.

References partitioning_type.

Referenced by calculate_vertex_partitions.

template<class Partition>
PartitionOfVertexIterator PartitionsByVertex< Partition >::begin Vertex const &    v const [inline]
 

Definition at line 251 of file partitioning.h.

References PartitionOfVertexIterator, and Vertex.

template<class Partition>
PartitionOfVertexIterator PartitionsByVertex< Partition >::end Vertex const &    v const [inline]
 

Definition at line 253 of file partitioning.h.

References PartitionOfVertexIterator, and Vertex.


The documentation for this class was generated from the following files:
Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 16:08:02 2002 for GrAL Partitioning Components by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000