HTGS  v2.0
The Hybrid Task Graph Scheduler
EdgeDescriptor.hpp
Go to the documentation of this file.
1 // NIST-developed software is provided by NIST as a public service. You may use, copy and distribute copies of the software in any medium, provided that you keep intact this entire notice. You may improve, modify and create derivative works of the software or any portion of the software, and you may copy and distribute such modifications or works. Modified works should carry a notice stating that you changed the software and should note the date and nature of any such change. Please explicitly acknowledge the National Institute of Standards and Technology as the source of the software.
2 // NIST-developed software is expressly provided "AS IS." NIST MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED, IN FACT OR ARISING BY OPERATION OF LAW, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND DATA ACCURACY. NIST NEITHER REPRESENTS NOR WARRANTS THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT ANY DEFECTS WILL BE CORRECTED. NIST DOES NOT WARRANT OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF THE SOFTWARE OR THE RESULTS THEREOF, INCLUDING BUT NOT LIMITED TO THE CORRECTNESS, ACCURACY, RELIABILITY, OR USEFULNESS OF THE SOFTWARE.
3 // You are solely responsible for determining the appropriateness of using and distributing the software and you assume all risks associated with its use, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and the unavailability or interruption of operation. This software is not intended to be used in any situation where a failure could cause risk of injury or damage to property. The software developed by NIST employees is not subject to copyright protection within the United States.
4 
5 //
6 // Created by tjb3 on 2/24/17.
7 //
15 #ifndef HTGS_EDGEDESCRIPTOR_HPP
16 #define HTGS_EDGEDESCRIPTOR_HPP
17 
18 #include <cstddef>
20 
21 namespace htgs {
22 
23 class AnyTaskGraphConf;
24 
40  public:
44  virtual ~EdgeDescriptor() {}
45 
55  virtual void applyEdge(AnyTaskGraphConf *graph) = 0;
56 
67  virtual EdgeDescriptor *copy(AnyTaskGraphConf *graph) = 0;
68 
69 };
70 }
71 
72 #endif //HTGS_EDGEDESCRIPTOR_HPP
virtual void applyEdge(AnyTaskGraphConf *graph)=0
Applies an edge to a task graph.
virtual EdgeDescriptor * copy(AnyTaskGraphConf *graph)=0
Creates a copy of the edge descriptor to be added to other graphs, such as those within execution pip...
Implements the base class used by the TaskGraphConf, which removes the template arguments and impleme...
virtual ~EdgeDescriptor()
Destructor.
Definition: EdgeDescriptor.hpp:44
Implements the base class for the TaskGraphConf class, removing the template arguments and providing ...
Definition: AnyTaskGraphConf.hpp:66
The edge descriptor is an interface used to describe how an edge is applied and copied to a task grap...
Definition: EdgeDescriptor.hpp:39
Definition: Bookkeeper.hpp:23