MyraMath
|
Base/contract class for all other JobGraph's. More...
#include <JobGraph.h>
Public Member Functions | |
virtual JobGraphBase * | clone () const =0 |
Virtual copy-constructor. | |
virtual uint64_t | n_work () const |
Total "work" over all Job's of this JobGraph. | |
virtual std::string | name () const |
Returns a printable name for this JobGraph, for debugging. | |
virtual void | begins (JobIDs &output) const |
Enumerates the JobIDs of Job's that have no parents (where execution begins) | |
virtual void | ends (JobIDs &output) const |
Enumerates the JobIDs of Job's that have no children (where execution ends) | |
virtual Job * | create (JobID j) |
Constructs the Job corresponding to the given JobID. | |
virtual std::vector< Job * > | create () |
Constructs all Job's in an implementation-defined order. | |
virtual uint64_t | size () const |
Returns maximum JobID. | |
virtual | ~JobGraphBase () |
Virtual destructor, so subtypes can release resources. | |
Base/contract class for all other JobGraph's.