MyraMath
Public Member Functions | List of all members
myra::JobGraphBase Class Referenceabstract

Base/contract class for all other JobGraph's. More...

#include <JobGraph.h>

Inheritance diagram for myra::JobGraphBase:
[legend]

Public Member Functions

virtual JobGraphBaseclone () 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 Jobcreate (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.
 

Detailed Description

Base/contract class for all other JobGraph's.


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