The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

attn william bashless (long) by gibuu2004-12-30 12:16:08
  Question about finding the solution. by Tars_Tarkas2004-12-30 12:38:24
    Interestingly enough... (extension) by williamashbless2004-12-30 12:55:01
      I did figure out the part with the sets... by Tars_Tarkas 2004-12-30 13:12:30
It was one approach I tried to finding a solution.

The other was to try and draw a tree and see if I can have a decision tree where each non-leaf node was a weighing and each leaf was a coin.

Now if I could've constructed a tree with twelve leaves and maximum height 3 (counting the root as 1) I'd have had the solution.

I figured that each weighing would have 3 possible outcomes (and thus each node (at most) 3 childnodes). These being equality, one side lighter(<) or one side heavier(>). The problem is that equality didn't give me enough information in some cases and in others the < and the > were just two sides of the same coin ;).

When I then tried to combine the stuff about sets of coins with the tree model, I couldn't really keep track of everything. So I thought, why not write a program to do it for me.

The problem is, how do you know there's no more information to be gained, or seen another way, how do know you took every information you could get from each weighing (and the preceeding ones) (which, I gather is exactly the solution to finding the solution in the 12 coins problem).

Also, if you can prove that the minimum number of weighings is some number, you haven't neccessarily found that solution...

Difficult this is, confused am I.

Also I think brute force might be the only way to go. Kinda like the traveling salesman or the 0,1 knapsack problems, though these at least have rather good solutions.

Or even the problem about the minimum colours needed to color vertices in a graph. That kind of problem seemed to me to be similar to the coins problem, but I couldn't figure out how to map the one onto the other...
--
Tars Tarkas, confused.
[ Reply ]
        Thoughts. by williamashbless2004-12-30 13:28:36
          I think I would by gibuu2004-12-30 15:27:55
            I like trees :) by Tars_Tarkas2006-11-19 12:55:59
              Annotation: by Tars_Tarkas2004-12-30 16:07:37
              thoughts on a tree by gibuu2004-12-30 17:01:55
                Trees, Trees everywhere by Tars_Tarkas2006-11-19 12:55:59

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)