pydcop.algorithms.ComputationDef
- class ComputationDef(node: ComputationNode, algo: AlgorithmDef)
Full definition of a Computation.
A Computation node contains all the information needed to create a computation instance that can be run. It can be used when deploying the computation or as a replica when distributing copies of a computation for resilience.
- Parameters:
node (ComputationNode) – A computation node
algo (AlgorithmDef) – algorithm definition ans an AlgoDef instance.