BBO Discussion Forums: Other examples - BBO Discussion Forums

Jump to content

Page 1 of 1

Other examples

#1 User is offline   0 carbon 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 544
  • Joined: 2009-January-19
  • Gender:Male

Posted 2024-December-27, 21:58


Other example constraints
See alsohttps://github.com/R...ripts/tree/mainhttps://bridgewinner...dealer-scripts/
https://hdsl.moysian.com/

highNS = hcp(south)+hcp(north)> 20

aces(south)==0 + kings(south)==1 + queens(south)<=2 + jacks(south)<=3 + tens(south)!=4 diamonds(north)==6 + hcp(north, diamonds)<=5
#
spadeEW = spades(west)+spades(east)>9diamondEW = diamonds(west)+diamonds(east)>9heartEW = hearts(west)+hearts(east)>9
clubEW = clubs(west)+clubs(east)> 9
competition = clubEW or heartEW or diamondEW or spadeEW

altcount 11 300 200 100 50 20
# -define an alternate point count at position 11 of 3 points for Aces, 2 for Ks, 1 for Qs, .5 for Js, .2 for tens
#(numbers x 10)c13(north) ==1070
## - use pointcount to constrain N (C13 = position 11)
##Control(north)=2#- Control count, where K=1, A=2
##Loser(north)=2# - the number of losers in the hand,
or the sum of the number of losers in each suit
##cccc(north)>1200quality(north, spades)>200#Kaplan + Rubens point count (x10)
##Both quality + cccc use the algorithms described in
The Bridge World_, October 1982, with the single exception
#thatt he values are multiplied by 100
(so that we can use integers for them).
#Thus, a minimum opening bid is about 1200,
rather than 12.00 as expressed in the text.
0

Page 1 of 1


Fast Reply

  

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