| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> I mean whatever I want to mean <0> ! <1> .. yessir! <0> Attaboy <2> heh <1> now I have to figure out truth tables so I can do my homework <0> What's to figure out <1> don't know yet <0> A ~A <0> B <0> ~B <0> Or something <1> oh is that all? <0> http://en.wikipedia.org/wiki/Truth_table <1> yea i was looking at that at work
<3> good morning <1> but.. *looks again* thanks <0> Well, look at your book, not wikipedia <0> There are a variety of applications of that sort of thing <1> our book doesn't actually cover that <0> Oh <1> it's Programming Game AI by Example <2> meh <1> actually it's only reccomended <1> we don't need a book <1> er maybe we do <1> but it's not required <1> there we go <0> http://www.softwareforeducation.com/sms32v50_manual/380-TruthTables.htm <1> meh? <0> Interesting, no book <1> yea, just two "reccomended readings" <0> You got both, though, right? <1> one so far <1> it's the first week of the quarter <0> Heh <1> the other is... "Artificial Intelligence: A Modern APproach" <0> Beats the postmodern approach <1> hmmm <0> ! <1> what >_> <0> Philosophy humor <1> this seems stupid <1> but... the hardest thing about the truth tables so far for me is... <1> what the hell is a and b? <1> i just see oh A: 0 0 1 1 B: 0 1 0 1 <0> Ever take a logic course? <1> nope <0> Digital logic or anything? <1> nada <0> Okay, let me check something quick, I might have a great book recommendation for you <0> As well as an answer, but let me make sure the book covers it first <1> ok <0> Ehh, the book doesn't cover it easily <1> boooo <0> So I won't recommend the book entirely, but take a look at it if you see it somewhere <0> "Code", by Charles Petzold. <1> what year is it? <1> published^ <0> http://www.amazon.com/gp/product/0735611319/qid=1137308225/sr=8-1/ref=pd_bbs_1/102-2241841-5552133?n=507846&s=books&v=glance <1> cool <2> i have like 10 amazon.com boxes sitting on my floor :/ <2> proof that I give them too much of my money, heh <0> Heh <0> Okay, anyway <0> You familiar with AND and OR and such as they pertain to logic, Tak? <1> yea <0> Okay <0> They're used in reference to propositions <0> In programming, that tends to mean inputs <0> Your computer runs on voltage <0> It only knows two states for any particular input for any particular component <0> True or false <0> True is usually also "high", also 5 or so volts DC <0> False is usually "low", also no voltage
<0> True is 1, False is 0 <0> Propositional logic concerns NOT the validity of a statement as far as its truth value <0> It concerns the validity of a statement irregardless of its truth value <0> Here's a simple example <0> If the sky is red, we're on Mars. <0> Let's pretend that the sky is only red on Mars. <2> isn't that conditional logic? <1> CONFLICT <1> maybe if you remove the if? <0> Uh, honestly, I'm not sure what it's called, rdragon. <0> I think a lot of things apply to it <0> It's important, though, to note that we're thinking of A and B as propositions <0> Tak, there's no conflict <0> If the sky is red, then we're on Mars. <0> Is that a valid statement? <1> ok <1> yea <0> Okay <0> What's its truth value? <2> yeah, don't listen to me <0> That is, is it true or false? <1> from what you said, true <0> Well <0> I mean, what's its output. <0> Is it true that we're on Mars? <1> nope <0> According to the statement <1> yes <0> According ONLY to the statement <0> "If the sky is red, then we're on Mars." <0> S -> M <0> ------- <0> Is M true or false? <2> you can't conclude anything from that <0> Given no other claims <1> yea <0> rdragon, take duct tape and apply it to your fingers <0> What are you saying yes to, Tak <1> we don't know the color of the sky, yea? <0> Right, I didn't provide that <0> I only provided the sequence, <0> S -> M <0> I didn't tell you what S is <0> Or what M is <0> Uhhhh <0> Wait <0> I didn't tell you what the TRUTH VALUE of either is. <0> But S is the proposition "the sky is red" <0> And M is the proposition "we're on Mars". <0> Given S->M <1> gotcha <0> If it's true that: If the sky is red, we're on Mars <0> And given no other information <0> Do you know what the truth value of M is <0> Just answer honestly <1> seems like it's value would be true, no matter what <0> What if the sky isn't red? <0> Then M (we're on Mars) wouldn't necessarily be true. <0> The point I'm making here is <1> then the value of "we're on Mars" is sitll true within itself <0> No no <0> You don't know whether it's true or not. <1> ok.. <0> The proposition might be valid <0> But that has nothing to do with the truth value of the components <1> oh <0> This is the point I'm trying to stress with you <0> Because it's really what you asked earlier <0> So let me take another example, and see if it rings a bell <0> If the player is in a death state, show them on the scoreboard in greyed out text. <0> D = Player is in a death state <0> G = Player's name is greyed out <0> If D, then G <0> D->G
Return to
#c++ or Go to some related
logs:
#london #java #AllNiteCafe +dumped you several #php dlopen: fglrx_drv.so: cannot restore segment #chatzone #MissKitten pixelview ubuntu mount /dev/hda2 lvm fc5 rescue
|
|