xabbuh / block-relocation-problem
Algorithms for solving block relocation problems
dev-master / 1.0.x-dev
2014-05-12 18:46 UTC
Requires
- php: >=5.3.0
- symfony/console: ~2.3
This package is auto-updated.
Last update: 2024-11-28 22:32:37 UTC
README
Getting Started
Add xabbuh/block-relocation-problem
to your composer.json
file:
{ "require": { "xabbuh/block-relocation-problem": "~1.0@dev" } }
and run php composer.phar update
.
Container Configuration
Create a file containing your BRP configuration (e.g. configuration.json
):
{ "stacks": [ [6, 7, 9], [1, 3, 4], [2, 8, 5] ] }
Solve the Problem
Solve the problem running the brp:configuration:solve
command:
$ php vendor/bin/brp.php brp:configuration:solve --algorithm=la configuration.json