SST/macro
|
#include <random_allocation.h>
Public Member Functions | |
random_allocation (parallel_runtime *rt) | |
void | init_factory_params (sprockit::sim_parameters *params) |
virtual | ~random_allocation () throw () |
void | allocate (int nnode_requested, const ordered_node_set &available, ordered_node_set &allocation) const |
Get nodes. More... | |
Public Member Functions inherited from sstmac::sw::node_allocator | |
void | set_topology (hw::topology *top) |
virtual std::string | to_string () const |
virtual | ~node_allocator () throw () |
Public Member Functions inherited from sprockit::factory_type | |
virtual void | init_factory_params (sim_parameters *params) |
virtual void | finalize_init () |
Protected Attributes | |
RNG::UniformInteger * | rng_ |
Protected Attributes inherited from sstmac::sw::node_allocator | |
hw::topology * | topology_ |
parallel_runtime * | rt_ |
Additional Inherited Members | |
Protected Member Functions inherited from sstmac::sw::node_allocator | |
node_allocator (parallel_runtime *rt) | |
Definition at line 20 of file random_allocation.h.
|
inline |
Definition at line 23 of file random_allocation.h.
References allocate(), init_factory_params(), and ~random_allocation().
|
virtual |
Referenced by random_allocation().
|
virtual |
Get nodes.
nnode | number of nodes requested |
available | the set of nodes that can be given |
allocation | returns the nodes that have been allocated |
Implements sstmac::sw::node_allocator.
Referenced by random_allocation().
|
virtual |
Reimplemented from sstmac::sw::node_allocator.
Referenced by random_allocation().
|
protected |
Definition at line 39 of file random_allocation.h.