I want to present Bridge Calculator - double dummy solver:
http://bcalc.w8.pl/
My program have some attractive futures:
is very fast, free, portable (windows and linux), and can import deals
from Internet places (URLs) or files using popular formats like PBN or
BBO .lin...
I hope you will find the program useful.
I also would be very grateful to you for any advice and opinions,
Piotr Beling
--
Piotr Beling - http://qwak.w8.pl http://warcaby.w8.pl http://bcalc.w8.pl
http://kiedygdzie.co
I tried downloading this file for lInux. It is a .tar.gz file. There
are subdirectories in it, and files that do not end in a filetype that
I am familiar with (.mo).
There is no manifiest, or README file, or install instructions, or
such like. There are a couple of small scripts with the
extension .lua. Trying to open most of the files with a text editor
does not succeed. The other option my system gives me is to execute
the files using Crossover/Wine. Looks like my system thinks they are
Windows executables. I am not sure what to make of all this.
pgmer6809
The tar.gz files contain statically linked executables - the files
bcalcgui and bcalconsole. If your system can't run them, perhaps you
have 32-bit instead of 64-bit or vice versa?
(I can't speak for the software in any other way, I just had a look at
the files).
> I tried downloading this file for lInux. It is a .tar.gz file. There
> are subdirectories in it, and files that do not end in a filetype that
> I am familiar with (.mo).
> There is no manifiest, or README file, or install instructions, or
> such like. There are a couple of small scripts with the
> extension .lua.
bcalcgui and bcalconsole are executables (you should try this,
especially bcalcgui in graphic environment)
.lua scripts are used by bcalcgui itself
.mo files are for translations
bcalcgui required libs: lua and curl
(try install: liblua or lua and lubcurl or curl packages)
You also can try download previous version (11.06.0) which is very
similar and not require liblua.
If program still can't run please try to run it from console and send
error message.
I will add README to archive in next release - thank You for good advice.
My solver is very fast (probably the fastest one), so it is good to
solves many deals in reasonable time.
Currently, I have no comfortable and flexible interface to do statistic
analyses. I will plan to write one, but this is not very easy task, so
probably it will haven't done quickly.
At this moment the best you can do is using console program version in
shell scripts, see:
http://bcalc.w8.pl/index.php?lang=en&topic=help#Non-interactive%20work%20%28using%20in%20scripts,%20etc.%29
Piotr -- Thank you for your efforts and for sharing this with
everyone, Piotr. Do you plan to publish an API for your solver?
Yes. For sure I will make free API to solver for personal use and use in
free applications. I don't decide what with commercial applications.
I hope to find some time to do API soon. You will find it on
http://bcalc.w8.pl/ when it will be available.
> W dniu 02.07.2011 16:19, dak...@aol.com pisze:
>> I really want a stats package added. ie.
>> DD solve a thousand hands given an opening hand;
>> accounting of making, -1, -2 results.
>> How close is your program to that?
>> I intend a survey of opening minimums.
>
> My solver is very fast (probably the fastest one), so it is good
> to solves many deals in reasonable time.
>
> Currently, I have no comfortable and flexible interface to do
> statistic analyses. I will plan to write one, but this is not
> very easy task, so probably it will haven't done quickly.
>
> At this moment the best you can do is using console program
> version in shell scripts, see:
> http://bcalc.w8.pl/index.php?lang=en&topic=help#Non-interactive%2
> 0work%20%28using%20in%20scripts,%20etc.%29
>
I presume you are aware of Bo Haglunds double dummy solver. How
does it compare?
> I presume you are aware of Bo Haglunds double dummy solver. How
> does it compare?
Yes, I know Bo Haglund's solver. I very often make speed comparisons to
this solver.
I have done some benchmark recently (using newest versions) and bcalc is
almost 2 times faster (testing on deals from database published by Bo
Haglund).
Would it be easy to write a script that accesses a text file providing
a
list of deals in PBN format and then for each deal calculate all 20
trump / lead hand DD results?
I am thinking of a file where each line contains PBN deal information,
e.g. T5.K4.652.A98542 K6.QJT976.QT7.Q6 432.A.AKJ93.JT73
AQJ987.8532.84.K
with West having the first 13 cards (and then N, E and S).
As output, the DD results as well as timing information.
Do you plan to make an algorithm description publicly available?
Bo Haglund
On 2 Juli, 02:09, qwak <q...@w8.pl> wrote:
> Hello,
>
> I want to present Bridge Calculator - double dummy solver:http://bcalc.w8.pl/
>
> My program have some attractive futures:
> is very fast, free, portable (windows and linux), and can import deals
> from Internet places (URLs) or files using popular formats like PBN or
> BBO .lin...
>
> I hope you will find the program useful.
> I also would be very grateful to you for any advice and opinions,
> Piotr Beling
>
> --
> Would it be easy to write a script that accesses a text file providing
> a
> list of deals in PBN format and then for each deal calculate all 20
> trump / lead hand DD results?
Not very easy, but possible.
But, it will be much easier in near future. I have a plan to release
library with C API. I'm just working on this and it should be ready
after few days.
> Do you plan to make an algorithm description publicly available?
Yes, all details will be in my pHd thesis, but this will be not very
quickly (2-3 years).
The algorithm strongly base on Ginsberg's Partition Search, but with
many enchantments.
Bye,
Piotr
> The algorithm strongly base on Ginsberg's Partition Search, but with
> many enchantments.
Wow. Hermione helped? I think you meant enhancements.
Only teasing; I realise that your first language is not English ;-)
PS. API to my solver is available to download (for maximum portable, I
wrote this API in C - solver itself is written in C++).
It is very fresh, and almost not tested yet, so any suggestions and
informations about a bugs are welcome.
So to solve one deal with four declarers and five strains takes 20
lines? Not a big problem. Actually you have 'a' for trumps, so it
takes only four lines.
Is it possible to solve multiple deals in a single pbn file? I'm
thinking of something like
bcalconsole -t a -l N -q -d PBN -c myfile.pbn
(and repeat three more times for the other declarers). Or is "-l a" a
legal value?
Obviously I haven't tried this yet, but I don't want to spend a lot of
time on it until I know it will work. Regardless, I'm very grateful to
you for making the program freely available.
--
Help keep our newsgroup healthy; please don't feed the trolls.
Steve Willner Phone 617-495-7123 swil...@nhcc.net
Cambridge, MA 02138 USA
> Is it possible to solve multiple deals in a single pbn file?
No. Console version always only work with one deal.
But recently I have made C API to bridge double dummy solver available
to download from http://bcalc.w8.pl/ page.
My simple PBN parser (in C++) is also available for free to download
from my homepage: http://qwak.w8.pl/project:pbnparser
So, reasonable easy you can develop own program.
I have a plan to add to GUI version of bcalc option to write full double
dummy results (for all trump/declarer) to PBN file when export (PBN can
store this kind of information).