Algorithm-QuineMcCluskey
view release on metacpan or search on metacpan
},
},
requires => {
perl => '5.16.1',
Moose => '2.16',
Carp => 0,
'Logic::Minimizer' => '1.00',
'List::Compare::Functional' => '0.53',
'List::Util' => '1.45',
'namespace::autoclean' => '0.28',
},
configure_requires => {
'Module::Build' => '0.4224',
},
build_requires => {
'Test::More' => 0,
},
the list items to remove were the entire list. Streamlined that.
- The Hamming distance change above meant pairwise() isn't needed
now, which was the cause of the version requirement change of
List::MoreUtils. Put the older version number back in the
requirement.
0.17
2018-06-21
- Require latest version (0.428) of List::MoreUtils, as there seems
to be a crash-worthy side-effect happening with its earlier version
and Perl 5.26, as reported by Slaven Rezic.
- Upped the version req's of Tie::Cycle, namespace::autoclean, and
Module::Build while I was at it.
0.16
2017-02-27
- The test in 24-solve.t, "A problem with sixteen possible covers",
had typos in four of its covers, all involving the term that
should have been BC'D' (the D variable was missing its complement
symbol).
0.15
2017-01-31
- Renamed tableform() function to chart().
- Updated README to current status of the API.
- Version 0.05 now, and up to CPAN.
0.04
2015-6-13
- The build-and-break-a-columnstring mechanism for making
complements and duals of the object was clear but involved
using extra memory, potentially a lot. Removed that and
use the get_complement() function of List::Compare::Functional
instead.
- I hadn't listed namespace::autoclean in the dependency list
in Build.PL, and I am hearing about it from the testers.
- Similarly, some testers have a List::Utils module that's older
than October 2013, when any() was introduced. Specified version
1.35 in Build.PL to be safe.
- Bump everthing's version up to 0.04. Up to CPAN.
0.03
2015-6-12
- The minimum perl required was 5.10.1, but the module
was using the /r modifier on the tr// operator, which
doesn't appear until 5.14. Oops. Changed the string
automatically using the covers attribute internally. This
will allow the user (or the test files) to check terms before
or during minimization.
- Separated out the var-by-var code from to_boolean(). Now it
calls a new method to_boolean_term() for each individual term
in the covers (or other) list, for easier output manipulation.
2014-09-28
- The 'covers' attribute gets changed from ArrayRef[Int] to
ArrayRef[Str].
2014-09-21
- Added namespace::autoclean as recommended in the Moose Best
Practices manual.
- Changed the all the "terms" attributes to 'ro'.
2014-09-19
- For internal clarity, renamed allterms() to all_bit_terms(),
and minmax_terms() to minmax_bit_terms().
- Methods maskmatch() and maskmatches() now combined into a single
method (one called the other, but there was no reason for the
separate internal function, and it saved re-creating
utility variables over and over).
- Check if there's an overlap between the don't-care list and
"Module::Build" : "0.4224"
}
},
"runtime" : {
"requires" : {
"Carp" : "0",
"List::Compare::Functional" : "0.53",
"List::Util" : "1.45",
"Logic::Minimizer" : "1.00",
"Moose" : "2.16",
"namespace::autoclean" : "0.28",
"perl" : "v5.16.1"
}
}
},
"provides" : {
"Algorithm::QuineMcCluskey" : {
"file" : "lib/Algorithm/QuineMcCluskey.pm",
"version" : "1.01"
},
"Algorithm::QuineMcCluskey::Format" : {
version: '1.01'
Algorithm::QuineMcCluskey::Util:
file: lib/Algorithm/QuineMcCluskey/Util.pm
version: '1.01'
requires:
Carp: '0'
List::Compare::Functional: '0.53'
List::Util: '1.45'
Logic::Minimizer: '1.00'
Moose: '2.16'
namespace::autoclean: '0.28'
perl: v5.16.1
resources:
license: http://dev.perl.org/licenses/
repository: git://github.com/jgamble/Algorithm-QuineMcCluskey
version: '1.01'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
Makefile.PL view on Meta::CPAN
(
'NAME' => 'Algorithm::QuineMcCluskey',
'VERSION_FROM' => 'lib/Algorithm/QuineMcCluskey.pm',
'PREREQ_PM' => {
'Carp' => 0,
'List::Compare::Functional' => '0.53',
'List::Util' => '1.45',
'Logic::Minimizer' => '1.00',
'Moose' => '2.16',
'Test::More' => 0,
'namespace::autoclean' => '0.28'
},
'INSTALLDIRS' => 'site',
'EXE_FILES' => [],
'PL_FILES' => {}
)
;
lib/Algorithm/QuineMcCluskey.pm view on Meta::CPAN
package Algorithm::QuineMcCluskey;
use strict;
use warnings;
use 5.016001;
use Moose;
use namespace::autoclean;
use Carp;
use Algorithm::QuineMcCluskey::Util qw(:all);
use List::Util qw(uniqnum);
use List::Compare::Functional qw(get_complement is_LequivalentR);
extends 'Logic::Minimizer';
#
( run in 0.265 second using v1.01-cache-2.11-cpan-a5abf4f5562 )