13 #ifndef SST_CORE_PART_BASE
14 #define SST_CORE_PART_BASE
16 #include <sst/core/configGraph.h>
17 #include <sst/core/rankInfo.h>
34 static std::map<std::string, SSTPartitioner::partitionerAlloc>& partitioner_allocs();
35 static std::map<std::string, std::string>& partitioner_descriptions();
42 static bool addPartitioner(
const std::string name,
const SSTPartitioner::partitionerAlloc alloc,
const std::string description);
45 static const std::map<std::string, std::string>& getDescriptionMap() {
return partitioner_descriptions(); }
68 virtual bool requiresConfigGraph() {
return false; }
70 virtual bool spawnOnAllRanks() {
return false; }
Definition: configGraph.h:397
A Configuration Graph A graph representing Components and Links.
Definition: configGraph.h:202
virtual void performPartition(PartitionGraph *graph)
Function to be overriden by subclasses.
Definition: sstpart.h:55
Definition: rankInfo.h:21
Base class for Partitioning graphs.
Definition: sstpart.h:27
virtual void performPartition(ConfigGraph *graph)
Function to be overriden by subclasses.
Definition: sstpart.h:66