BBO Discussion Forums: Protect? - BBO Discussion Forums

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Protect? 4th seat

#41 User is offline   hrothgar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 15,725
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Natick, MA
  • Interests:Travel
    Cooking
    Brewing
    Hiking

Posted 2006-November-24, 06:59

cherdano, on Nov 24 2006, 11:21 AM, said:

Richard, you are doing the same mistake as whereagles, just in a more fancy version.

Lets forget about opening requirements, passes etc., just focus on the fact that we know LHO has >= 5 spades. There are two problems:
1. Deal me my cards, then deal LHO 5 spades, then deal the remaining cards randomly.
2. Deal me my cards, then deal the remaining 39 cards, and throw out all deals where LHO doesn't have at least 5 spades.

Only no. 2 will give the correct answer, but you and whereagles are computing the answer for problem 1. It is pretty easy to convince yourself that in model 2, LHO will have exactly 5 spades a lot more often.

Incidentally, I had an e-mail exchange with Richard Pavlicek about this, as his random dealer suffers from the same problem (he agrees). It seems quite a tricky problem to generate random deals with constraints without brute force (= deal completely randomly and throw out all deals that don't match the constraints).

Thanks for the clarification

Makes much more sense on an empty stomache.
Alderaan delenda est
0

#42 User is offline   Blofeld 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 775
  • Joined: 2005-May-05
  • Location:Oxford
  • Interests:mathematics, science fiction, Tolkien, go, fencing, word games, board games, bad puns, juggling, Mornington Crescent, philosophy, Tom Lehrer, rock climbing, jootsing, drinking tea, plotting to take over the world, croquet . . . and most other things, really.

Posted 2006-December-05, 07:39

cherdano, on Nov 24 2006, 03:21 AM, said:

Richard, you are doing the same mistake as whereagles, just in a more fancy version.

Lets forget about opening requirements, passes etc., just focus on the fact that we know LHO has >= 5 spades. There are two problems:
1. Deal me my cards, then deal LHO 5 spades, then deal the remaining cards randomly.
2. Deal me my cards, then deal the remaining 39 cards, and throw out all deals where LHO doesn't have at least 5 spades.

Only no. 2 will give the correct answer, but you and whereagles are computing the answer for problem 1. It is pretty easy to convince yourself that in model 2, LHO will have exactly 5 spades a lot more often.

Incidentally, I had an e-mail exchange with Richard Pavlicek about this, as his random dealer suffers from the same problem (he agrees). It seems quite a tricky problem to generate random deals with constraints without brute force (= deal completely randomly and throw out all deals that don't match the constraints).

For shape constraints, can't you do something like:

Pick all the acceptable shapes (relatively small finite number). You know all the absolute probabilities of these, so can work out the probability of any of them given that it's one of them easily enough. Do this, then deal cards according to these constraints, and finally throw out any that don't match your other constraints.

?

Or does that also fail?

Obviously it's still a bit of a hassle, but it's better than the pure brute force approach.
0

#43 User is offline   Fluffy 

  • World International Master without a clue
  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 17,404
  • Joined: 2003-November-13
  • Gender:Male
  • Location:madrid

Posted 2006-December-05, 08:40

Well, if you are insane enough to calculate this accuratelly, I'll tell you there is still a missing argument, The ♠ expectancy for West is also modified by wich ♠s you have, since he has opening strenght :)

I tried to calculate a different problem, that was finding ♠Q at trick one when you know one player has 5♠ and 5-6 HCP, and the other has 2♠ and 18-19 HCP. The answer was that you needed to know wich HCP exactly were missing.
0

#44 User is offline   cherdano 

  • 5555
  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 9,520
  • Joined: 2003-September-04
  • Gender:Male

Posted 2006-December-05, 10:16

Blofeld, on Dec 5 2006, 03:39 PM, said:

cherdano, on Nov 24 2006, 03:21 AM, said:

It seems quite a tricky problem to generate random deals with constraints without brute force (= deal completely randomly and throw out all deals that don't match the constraints).

For shape constraints, can't you do something like:

Pick all the acceptable shapes (relatively small finite number). You know all the absolute probabilities of these, so can work out the probability of any of them given that it's one of them easily enough. Do this, then deal cards according to these constraints, and finally throw out any that don't match your other constraints.

Yes, that works when you have only shape constraints. I can count it as brute force to save my statement above, though :)

It gets a little more tricky when you also have hcp constraints, as they do influence the likelyhood of different shapes. (If you have xxx xxx AKQJ AKQ and partner opens 2N (20-21), it is quite unlikely that he has 5 clubs...) Maybe the best approach is to deal the shapes as you suggest, then deal the cards randomly, and throw everything out if it doesn't match the hcp constraints.

Arend
The easiest way to count losers is to line up the people who talk about loser count, and count them. -Kieran Dyke
0

#45 User is offline   Blofeld 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 775
  • Joined: 2005-May-05
  • Location:Oxford
  • Interests:mathematics, science fiction, Tolkien, go, fencing, word games, board games, bad puns, juggling, Mornington Crescent, philosophy, Tom Lehrer, rock climbing, jootsing, drinking tea, plotting to take over the world, croquet . . . and most other things, really.

Posted 2006-December-06, 16:41

cherdano, on Dec 5 2006, 11:16 AM, said:

Maybe the best approach is to deal the shapes as you suggest, then deal the cards randomly, and throw everything out if it doesn't match the hcp constraints.

Sorry, yes, this is what I was trying to get at. I didn't phrase it very well.

I agree that it's still basically a brute force method, but it should be a good bit faster than the naïve brute force method.
0

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users