Base¶
Contains Strategy-related definitions.
-
class
StrategyBuilder
[source]¶ Bases:
abc.ABC
A builder interface for strategies.
-
abstract
build
(graph_item: autodist.graph_item.GraphItem, resource_spec: autodist.resource_spec.ResourceSpec) → autodist.strategy.base.Strategy[source]¶ Build strategy representation instance with a graph item and a resource spec.
- Parameters
graph_item (graph_item.GraphItem) – the graph for which to develop a strategy
resource_spec (ResourceSpec) – resource information
- Returns
(Strategy) A strategy representation instance.
-
abstract