5#include <unordered_map>
34 explicit Pipeline(
const std::vector<Operation *> &ops);
48 std::unordered_map<std::string, Operation *> producers_;
49 std::unordered_map<Operation *, std::vector<Operation *>> adj_;
50 std::unordered_map<Operation *, int> in_degree_;
51 std::vector<Operation *> sorted_;
A result type that maintains a chainable sequence of errors for debugging and error reporting.
Manages and executes a collection of operations in dependency order.
ChainableResult< void > run() const
Executes all operations in the pipeline in dependency order.