Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

RE: RE: Re: Boolean algebra

by merlyn (Sage)
on Nov 13, 2000 at 18:52 UTC ( #41316=note: print w/replies, xml ) Need Help??


in reply to RE: Re: Boolean algebra
in thread Boolean algebra

Why is the second one (cb) and not (bc), since both orderings are in the input string? What permits me to pick one subexpression over the other? You still aren't clear, and the specification is still ambiguous to me.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE: RE: RE: Re: Boolean algebra
by le (Friar) on Nov 13, 2000 at 19:09 UTC
    Sorry for being ambigous.

    Let's start over:
    The whole expression ((...)(...)) can be simplified if the two partial expressions (inside the braces) differ in just one negated variable.

    If the whole expression can be simplified, then the result is the first partial expression without the variable that differs. (So have to pick first partial expression.)

    That's why (in these two examples) one output is (cb) and the other one is (bc)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://41316]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2023-02-08 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (41 votes). Check out past polls.

    Notices?