xabbuh/block-relocation-problem

Algorithms for solving block relocation problems

Maintainers

👁 xabbuh

Package info

github.com/xabbuh/brp-php

pkg:composer/xabbuh/block-relocation-problem

Statistics

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

dev-master / 1.0.x-dev 2014-05-12 18:46 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 03d2713b09d43bba54af76cc1d0198dc4c7f70dd

This package is auto-updated.

Last update: 2026-05-29 00:39:13 UTC


README

👁 Scrutinizer Code Quality
👁 Build Status
👁 SensioLabsInsight

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