Zoltan2
|
Algorithm defines the base class for all algorithms. More...
#include <Zoltan2_Algorithm.hpp>
Public Types | |
typedef Adapter::lno_t | lno_t |
typedef Adapter::gno_t | gno_t |
typedef Adapter::scalar_t | scalar_t |
typedef Adapter::part_t | part_t |
Public Member Functions | |
virtual | ~Algorithm () |
virtual int | localOrder (const RCP< LocalOrderingSolution< lno_t > > &) |
Ordering method. More... | |
virtual int | globalOrder (const RCP< GlobalOrderingSolution< gno_t > > &) |
Ordering method. More... | |
virtual void | color (const RCP< ColoringSolution< Adapter > > &) |
Coloring method. More... | |
virtual void | match () |
Matching method. More... | |
virtual void | partition (const RCP< PartitioningSolution< Adapter > > &) |
Partitioning method. More... | |
virtual void | partitionMatrix (const RCP< MatrixPartitioningSolution< Adapter > > &) |
Matrix Partitioning method. More... | |
virtual void | map (const RCP< MappingSolution< Adapter > > &) |
Mapping method. More... | |
virtual bool | isPartitioningTreeBinary () const |
return if algorithm determins tree to be binary More... | |
virtual void | getPartitionTree (part_t, part_t &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &) const |
for partitioning methods, fill arrays with partition tree info More... | |
virtual std::vector < coordinateModelPartBox > & | getPartBoxesView () const |
for partitioning methods, return bounding boxes of the More... | |
virtual part_t | pointAssign (int, scalar_t *) const |
pointAssign method: Available only for some partitioning algorithms More... | |
virtual void | boxAssign (int, scalar_t *, scalar_t *, size_t &, part_t **) const |
boxAssign method: Available only for some partitioning algorithms More... | |
virtual void | getCommunicationGraph (const PartitioningSolution< Adapter > *, ArrayRCP< part_t > &, ArrayRCP< part_t > &) |
returns serial communication graph of a computed partition More... | |
virtual int | getRankForPart (part_t) |
In mapping, returns the rank to which a part is assigned. More... | |
virtual void | getMyPartsView (part_t &, part_t *&) |
In mapping, returns a view of parts assigned to the current rank. More... | |
Algorithm defines the base class for all algorithms.
Definition at line 55 of file Zoltan2_Algorithm.hpp.
typedef Adapter::lno_t Zoltan2::Algorithm< Adapter >::lno_t |
Definition at line 82 of file Zoltan2_Algorithm.hpp.
typedef Adapter::gno_t Zoltan2::Algorithm< Adapter >::gno_t |
Definition at line 83 of file Zoltan2_Algorithm.hpp.
typedef Adapter::scalar_t Zoltan2::Algorithm< Adapter >::scalar_t |
Definition at line 84 of file Zoltan2_Algorithm.hpp.
typedef Adapter::part_t Zoltan2::Algorithm< Adapter >::part_t |
Definition at line 85 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Definition at line 88 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Ordering method.
Reimplemented in Zoltan2::AlgND< Adapter >, Zoltan2::AlgAMD< Adapter >, Zoltan2::AlgSortedDegree< Adapter >, Zoltan2::AlgRCM< Adapter >, Zoltan2::AlgRandom< Adapter >, and Zoltan2::AlgNatural< Adapter >.
Definition at line 91 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Ordering method.
Reimplemented in Zoltan2::AlgND< Adapter >, Zoltan2::AlgAMD< Adapter >, Zoltan2::AlgRCM< Adapter >, Zoltan2::AlgSortedDegree< Adapter >, Zoltan2::AlgNatural< Adapter >, and Zoltan2::AlgRandom< Adapter >.
Definition at line 97 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Coloring method.
Reimplemented in Zoltan2::AlgSerialGreedy< Adapter >.
Definition at line 103 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Matching method.
Definition at line 109 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Partitioning method.
Reimplemented in Zoltan2::Zoltan2_AlgMJ< Adapter >, Zoltan2::AlgZoltan< Adapter >, Zoltan2::AlgBlock< Adapter >, and Zoltan2::AlgForTestingOnly< Adapter >.
Definition at line 114 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Matrix Partitioning method.
Reimplemented in Zoltan2::AlgMatrix< Adapter >.
Definition at line 120 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
Mapping method.
Reimplemented in Zoltan2::CoordinateTaskMapper< Adapter, part_t >.
Definition at line 126 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
return if algorithm determins tree to be binary
Definition at line 132 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
for partitioning methods, fill arrays with partition tree info
Definition at line 138 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
for partitioning methods, return bounding boxes of the
Reimplemented in Zoltan2::Zoltan2_AlgMJ< Adapter >.
Definition at line 154 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
pointAssign method: Available only for some partitioning algorithms
Definition at line 168 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
boxAssign method: Available only for some partitioning algorithms
Definition at line 186 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
returns serial communication graph of a computed partition
Definition at line 202 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
In mapping, returns the rank to which a part is assigned.
Reimplemented in Zoltan2::AlgBlockMapping< Adapter, MachineRep >, Zoltan2::AlgDefaultMapping< Adapter, MachineRep >, Zoltan2::AlgDefaultMapping< Adapter, MachineRep >, and Zoltan2::AlgDefaultMapping< Adapter, MachineRep >.
Definition at line 219 of file Zoltan2_Algorithm.hpp.
|
inlinevirtual |
In mapping, returns a view of parts assigned to the current rank.
Reimplemented in Zoltan2::AlgDefaultMapping< Adapter, MachineRep >, and Zoltan2::AlgBlockMapping< Adapter, MachineRep >.
Definition at line 234 of file Zoltan2_Algorithm.hpp.