Algorithm-Networksort-Chooser
view release on metacpan or search on metacpan
bin/algorithm-networksort-chooser
Changes
lib/Algorithm/Networksort/Chooser.pm
Makefile.PL
MANIFEST
MANIFEST.SKIP
t/runs.t
META.yml Module YAML meta-data (added by MakeMaker)
META.json Module JSON meta-data (added by MakeMaker)
Optimal network:
Algorithm "best":
Comparators: 86
Stages: 12
For the description of the various algorithms and best-known special
cases, see Algorithm::Networksort's documentation and source code.
In order to use this output in another program, there is a "--raw"
switch. Its output is "eval"able perl and is valid JSON:
$ algorithm-networksort-chooser --median 7 --raw
[[0,4],[1,5],[2,6],[0,2],[1,3],[4,6],[2,4],[3,5],[0,1],[2,3],[4,5],[1,4],[3,6],[3,4]]
Algorithm::Networksort's ASCII output can be seen with "--show":
$ algorithm-networksort-chooser --median 7 --show
Network size: 7
Network type: Median network
bin/algorithm-networksort-chooser view on Meta::CPAN
Optimisation criteria: stages
Optimal network:
Algorithm "best":
Comparators: 86
Stages: 12
For the description of the various algorithms and best-known special cases, see L<Algorithm::Networksort>'s documentation and source code.
In order to use this output in another program, there is a C<--raw> switch. Its output is C<eval>able perl and is valid JSON:
$ algorithm-networksort-chooser --median 7 --raw
[[0,4],[1,5],[2,6],[0,2],[1,3],[4,6],[2,4],[3,5],[0,1],[2,3],[4,5],[1,4],[3,6],[3,4]]
L<Algorithm::Networksort>'s ASCII output can be seen with C<--show>:
$ algorithm-networksort-chooser --median 7 --show
Network size: 7
Network type: Median network
( run in 1.079 second using v1.01-cache-2.11-cpan-cdf2f3d4e48 )