>>>>> "PN" == Palit, Nilanjan <[email protected]> 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  ------  [email protected]  --------  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
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to