How to run:
python ms.py input-file -l 10
Options:
input-file
is representation of factor graph in json the filefg.json
is an example.- -l: lambda(number of time that z vector is not changed to ensure convergence of a variable agent). Default: 10
- Body of functions are in
Functions.py
file. The content in this file is for example infg.json
file.