SST  6.0.0
StructuralSimulationToolkit
SST::Partition::SSTPartitioner Class Reference

Base class for Partitioning graphs. More...

#include <sstpart.h>

Inheritance diagram for SST::Partition::SSTPartitioner:
SST::Partition::SimplePartitioner SST::Partition::SSTLinearPartition SST::Partition::SSTRoundRobinPartition SST::Partition::SSTSelfPartition SST::Partition::SSTSinglePartition

Public Types

typedef SSTPartitioner *(* partitionerAlloc) (RankInfo total_ranks, RankInfo my_rank, int verbosity)
 

Public Member Functions

virtual void performPartition (PartitionGraph *graph)
 Function to be overriden by subclasses. More...
 
virtual void performPartition (ConfigGraph *graph)
 Function to be overriden by subclasses. More...
 
virtual bool requiresConfigGraph ()
 
virtual bool spawnOnAllRanks ()
 

Static Public Member Functions

static bool addPartitioner (const std::string name, const SSTPartitioner::partitionerAlloc alloc, const std::string description)
 
static SSTPartitionergetPartitioner (std::string name, RankInfo total_ranks, RankInfo my_rank, int verbosity)
 
static const std::map< std::string, std::string > & getDescriptionMap ()
 

Detailed Description

Base class for Partitioning graphs.

Member Function Documentation

virtual void SST::Partition::SSTPartitioner::performPartition ( PartitionGraph graph)
inlinevirtual

Function to be overriden by subclasses.

Performs the partitioning of the Graph using the PartitionGraph object.

Result of this function is that every ConfigComponent in graph has a Rank applied to it.

Reimplemented in SST::Partition::SSTLinearPartition, SST::Partition::SSTSinglePartition, SST::Partition::SimplePartitioner, and SST::Partition::SSTRoundRobinPartition.

virtual void SST::Partition::SSTPartitioner::performPartition ( ConfigGraph graph)
inlinevirtual

Function to be overriden by subclasses.

Performs the partitioning of the Graph using the ConfigGraph object. The consequence of using ConfigGraphs is that no-cut links are not supported.

Result of this function is that every ConfigComponent in graph has a Rank applied to it.

Reimplemented in SST::Partition::SSTSelfPartition.


The documentation for this class was generated from the following files: