pydcop.algorithms

The pydcop.algorithms module contains the implementation of all DCOP algorithm supported by pyDCOP.

For documentation on how to develop new algorithms, look at the this tutorial and this documentation.

pydcop.algorithms also defines objects and functions that are used to describe and define DCOP algorithms’ computations.

Classes

ComputationDef(node, algo)

Full definition of a Computation.

AlgorithmDef(algo, params[, mode])

Full definition of an algorithm’s instance.

AlgoParameterDef

Definition of an algorithm’s parameter.

Functions

list_available_algorithms()

The list of available DCOP algorithms.

load_algorithm_module(algo_name)

Dynamically load an algorithm module.

prepare_algo_params(params, …)

Ensure algorithm’s parameters are valid.

check_param_value(param_val, param_def)

Check if param_val is a valid value for a AlgoParameterDef