2017 © Pedro Peláez
 

library permutation

Permutation algorithm on PHP

image

meniam/permutation

Permutation algorithm on PHP

  • Wednesday, February 15, 2017
  • by meniam
  • Repository
  • 1 Watchers
  • 0 Stars
  • 268 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

Permutation algorithm on PHP

Generates all permutations for defined the number of elements, (*1)

Example:, (*2)


<?php $permutation = new Permutation(3); foreach ($i = 0; $i <= $permutation->count(); $i++) { var_dump($permutation->current()); // array like [0, 1, 2] or [2, 1, 0] $permutation->next(); } var_dump($permutation->getByPos('Some Unique Hash Or Integer'));

The Versions

15/02 2017

dev-master

9999999-dev https://github.com/meniam/permutation

Permutation algorithm on PHP

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

php math permutation

13/02 2017

V1.0.3

1.0.3.0 https://github.com/meniam/permutation

Permutation algorithm on PHP

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

php math permutation

13/02 2017

V1.0.2

1.0.2.0 https://github.com/meniam/permutation

Permutation algorithm on PHP

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

php math permutation

03/04 2015

V1.0.1

1.0.1.0 https://github.com/meniam/permutation

Permutation algorithm on PHP

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

  • php >=5.4.0

php math permutation

08/09 2014

v1.0.0

1.0.0.0 https://github.com/meniam/permutation

Permutation algorithm on PHP

  Sources   Download

MIT

The Requires

  • php >=5.4.0
  • ext-stem *

 

The Development Requires

  • php >=5.4.0
  • ext-stem *

php math permutation