Re: [Boston.pm] Perl Boolean Expression builder
> "PN" == Palit, Nilanjan writes: PN> Thanks! Exactly what I was looking for. BTW, for those interested, the correct URL is below: PN> http://search.cpan.org/~kulp/Algorithm-QuineMcCluskey-0.01/lib/Algorithm/QuineMcCluskey.pm it wasn't an incorrect url but it got line wrapped somehow when bill pasted it into his email. i grabbed the entire url and it worked. PN> http://search.cpan.org/~kulp/Algorithm-QuineMcCluskey-0.01/lib/Algorithm PN> /QuineMcCluskey.pm uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl Training --- http://perlhunter.com/college.html - - Gourmet Hot Cocoa Mix http://bestfriendscocoa.com - ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Perl Boolean Expression builder
Bill, Thanks! Exactly what I was looking for. BTW, for those interested, the correct URL is below: http://search.cpan.org/~kulp/Algorithm-QuineMcCluskey-0.01/lib/Algorithm/QuineMcCluskey.pm -Nilanjan -Original Message- From: Ricker, William [mailto:william.ric...@fmr.com] Sent: Wednesday, May 20, 2009 6:28 PM To: Tom Metro; Palit, Nilanjan Cc: L-boston-pm Subject: RE: [Boston.pm] Perl Boolean Expression builder To minimize the Boolean expression or compute one from a truth table, I think you want http://search.cpan.org/~kulp/Algorithm-QuineMcCluskey-0.01/lib/Algorithm /QuineMcCluskey.pm References - http://hopper.unco.edu/KARNAUGH/Algorithm.html http://en.wikipedia.org/wiki/Karnaugh http://en.wikipedia.org/wiki/Quine-McCluskey_algorithm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Perl Boolean Expression builder
To minimize the Boolean expression or compute one from a truth table, I think you want http://search.cpan.org/~kulp/Algorithm-QuineMcCluskey-0.01/lib/Algorithm /QuineMcCluskey.pm References - http://hopper.unco.edu/KARNAUGH/Algorithm.html http://en.wikipedia.org/wiki/Karnaugh http://en.wikipedia.org/wiki/Quine-McCluskey_algorithm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Perl Boolean Expression builder
Palit, Nilanjan wrote: ...is there a Perl module out there that can take in a truth table & create a minimized Boolean expression (BE)? I haven't ran across one...but it would be handy to have one for state machine construction, which often starts with a truth table. -Tom -- Tom Metro Venture Logic, Newton, MA, USA "Enterprise solutions through open source." Professional Profile: http://tmetro.venturelogic.com/ ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Perl Boolean Expression builder
> "PN" == Palit, Nilanjan writes: PN> Question for the EE/CS Perl users: is there a Perl module out PN> there that can take in a truth table & create a minimized Boolean PN> expression (BE)? I saw some (non-Perl) tools for doing the PN> reverse. A quick CPAN search did not reveal anything close to what PN> I'm looking for. a search for 'boolean' doesn't seem to find anything among many hits. a search for 'truth' (and don't we always search for truth! :) yields two hits, one of which seems to the the opposite of what you want! http://search.cpan.org/~pjcj/Devel-Cover-0.64/lib/Devel/Cover/Truth_Table.pm that takes boolean ops and values and combines them and can print out the table you want to parse! maybe you can use the methods to do what you want. uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Free Perl Training --- http://perlhunter.com/college.html - - Gourmet Hot Cocoa Mix http://bestfriendscocoa.com - ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Perl Boolean Expression builder
Question for the EE/CS Perl users: is there a Perl module out there that can take in a truth table & create a minimized Boolean expression (BE)? I saw some (non-Perl) tools for doing the reverse. A quick CPAN search did not reveal anything close to what I'm looking for. Thanks, -Nilanjan ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm