BBO Discussion Forums: -factor notation - BBO Discussion Forums

Jump to content

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

-factor notation revolutionary?

#41 User is offline   ahydra 

  • AQT92 AQ --- QJ6532
  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,840
  • Joined: 2009-September-09
  • Gender:Male
  • Location:Wellington, NZ

Posted 2010-September-08, 23:54

blahonga, on Sep 8 2010, 05:45 PM, said:

ahydra, on Sep 8 2010, 11:48 PM, said:

How does one write a deal in 96 bits?

There are only 53,644,737,765,488,792,839,237,440,000 different bridge deals. Log2 of 53,644,737,765,488,792,839,237,440,000 is about 95.5. Just assign a number to each bridge deal and take the binary expansion of this number.

Ouch :/ Would love to see pseudocode for encoding/decoding those!

ahydra
0

#42 User is offline   Free 

  • mmm Duvel
  • PipPipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 10,728
  • Joined: 2003-July-30
  • Gender:Male
  • Location:Belgium
  • Interests:Duvel, Whisky

Posted 2010-September-09, 01:13

ahydra, on Sep 9 2010, 06:54 AM, said:

blahonga, on Sep 8 2010, 05:45 PM, said:

ahydra, on Sep 8 2010, 11:48 PM, said:

How does one write a deal in 96 bits?

There are only 53,644,737,765,488,792,839,237,440,000 different bridge deals. Log2 of 53,644,737,765,488,792,839,237,440,000 is about 95.5. Just assign a number to each bridge deal and take the binary expansion of this number.

Ouch :/ Would love to see pseudocode for encoding/decoding those!

ahydra

Read this: http://bridge.thomas...com/impossible/

This is how you can easily create a deal generator. You just need a 96-bits randomizer (PRNG or TRNG) and you can generate every single deal... :)
"It may be rude to leave to go to the bathroom, but it's downright stupid to sit there and piss yourself" - blackshoe
0

#43 User is offline   ahydra 

  • AQT92 AQ --- QJ6532
  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,840
  • Joined: 2009-September-09
  • Gender:Male
  • Location:Wellington, NZ

Posted 2010-September-09, 03:43

That's pretty awesome, I have to admit. :) Although for 1 extra byte we can just specify the hand each card appears in and save a bunch of maths, it somewhat takes the fun out of it.

ahydra
0

#44 User is offline   1eyedjack 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,575
  • Joined: 2004-March-12
  • Gender:Male
  • Location:UK

Posted 2010-September-10, 21:33

It is an entertaining thread, but it seems to me that the purpose of the proposal is to save time for, and add convenience to, the person writing the hand at the expense of that of the person reading and decyphering it, where the more admirable objective should be to minimise the mental effort decyphering the hand even if that should be at the expense of a small extra time and effort in writing it.

Take this example:
http://forums.bridgebase.com/index.php?sho...ndpost&p=493739
It takes extra effort to determine whether
AQJ94 is
(1) a 5 card suit containing the Ace, Queen, Jack, nine and four, with the four for whatever reason being considered a significant card,
contrasted with
(2) AQJ9xxxx

Now I appreciate that option (1) above (the 5 card suit, all cards being significant) would be written as AQJ940, which on this occasion (albeit admittedly perhaps not generally) takes an extra character to describe the suit. And maybe if the notation became standard and "second nature" then the decyphering overhead would diminish.

For as long as more than one notation is popular, it needs to be apparent which notation is being used on a given occasion. Explicitly expressing the notation would be tedious. Provided that you are giving the entire hand, it may be obvious from the context, with the hand described being consistent only with one notation in order to have 13 cards (although this does not allow for errors in presenting hands with other than 13 cards - a practice which is rife). But expressing a single suit as AQJ94 is ambiguous as to the notation adopted.

I suppose that AQJ9(4) has some merit as it minimises mental decoding effort and saving you the trouble of having to count the "x"s, which is of value both to the poster and to the reader. It may also reduce the instances of typos where extra "x"s are typed (or missed) resulting in a hand posted with other than 13 cards.
Psych (pron. saik): A gross and deliberate misstatement of honour strength and/or suit length. Expressly permitted under Law 73E but forbidden contrary to that law by Acol club tourneys.

Psyche (pron. sahy-kee): The human soul, spirit or mind (derived, personification thereof, beloved of Eros, Greek myth).
Masterminding (pron. mPosted ImagesPosted ImagetPosted Imager-mPosted ImagendPosted Imageing) tr. v. - Any bid made by bridge player with which partner disagrees.

"Gentlemen, when the barrage lifts." 9th battalion, King's own Yorkshire light infantry,
2000 years earlier: "morituri te salutant"

"I will be with you, whatever". Blair to Bush, precursor to invasion of Iraq
0

#45 User is offline   hanp 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,987
  • Joined: 2009-February-15

Posted 2010-September-11, 02:41

Well, my keyboard is functioning properly again so I'm going to abandon the x-factor notation. Thanks all for the suggestions.

TimG, I regret you didn't appreciate the beauty of AK100.
and the result can be plotted on a graph.
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