项目作者: SMA-FGA

项目描述 :
An implementation of the algorithm ADOPT to solve Distributed Constraints Optimization Problems(DCOPs) using the JADE framework
高级语言: Java
项目地址: git://github.com/SMA-FGA/dcop-adopt.git
创建时间: 2017-10-10T20:21:32Z
项目社区:https://github.com/SMA-FGA/dcop-adopt

开源协议:GNU Affero General Public License v3.0

下载


dcop-adopt

An implementation of the algorithm ADOPT[1] to solve Distributed Constraints Optimization Problems(DCOPs) using the JADE framework.

how to exec

with docker

clone this repository:

  1. git clone https://github.com/SMA-FGA/dcop-adopt.git

go to repository path:

cd my/path/dcop-adopt

pull docker image:

  1. sudo docker pull jefersonalves/dcop

run a docker container:

  1. sudo docker run --name dcop -it -v $PWD:/dcop -p 1099:1099 jefersonalves/dcop bash

compile the code:

mvn compile

execute a dcop simulation based on the a.json configuration file:

  1. mvn exec:java -D exec.mainClass="jade.Boot" -D exec.args="-agents instantiator:agents.instantiator.InstantiatorAgent(./dcop-json-files/a.json)"

run tests

run all tests:

mvn test

run a single test:

  1. mvn test -D test=GraphTest#IsNodeSizeCorrect_SholdReturnNumberOfNodesInTheGraph test

license

references

  1. Modi, P., Shen, W.-M., Tambe, M., & Yokoo, M. (2005). ADOPT: Asynchronous distributed constraint optimization with quality guarantees. Artificial Intelligence, 161(1–2), 149–180.