BBO Discussion Forums: GIB double dummy analysis - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

GIB double dummy analysis

#1 User is offline   Cascade 

  • PipPipPipPipPipPipPipPip
  • Group: Yellows
  • Posts: 6,766
  • Joined: 2003-July-22
  • Gender:Male
  • Location:New Zealand
  • Interests:Juggling, Unicycling

Posted 2014-May-10, 19:38

Hi

Does anyone know if I can do double dummy analysis for multiple hands from one file.

I am using something like

bridge -dq hand.txt

Where hand.txt has a hand in the following format:

w q.qj74.t4.aqjt94
n t63.9832.q8.8765
e ak9754.t.aj732.3
s j82.ak65.k965.k2
w s
hq

However when I add a second hand to the file it does not work. Is this a limitation?

Thanks
Wayne Burrows

I believe that the USA currently hold only the World Championship For People Who Still Bid Like Your Auntie Gladys - dburn
dunno how to play 4 card majors - JLOGIC
True but I know Standard American and what better reason could I have for playing Precision? - Hideous Hog
Bidding is an estimation of probabilities SJ Simon

#2 User is offline   hotShot 

  • Axxx Axx Axx Axx
  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 2,976
  • Joined: 2003-August-31
  • Gender:Male

Posted 2014-May-11, 00:24

Years ago I did not find a way to do it when building a database of simulated deals with DD results, so that I could use database request instead of calculation power.
0

#3 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,613
  • Joined: 2004-August-21
  • Gender:Male

Posted 2014-May-11, 22:49

I don't think you can do it with GIB by itself, but you can easily write a shell script to do it:

#!/bin/sh
while read line1 && read line2 && read line3 && read line4 && read line5 && read line6; do
    printf "%s\n%s\n%s\n%s\n%s\n%s\n" line1 line2 line3 line4 line5 line6 | bridge -dq
done < hand.txt


Page 1 of 1
  • 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