Skip to content

frankwallis/dds-node-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dds-node-adapter

build status

A node addon for the DDS bridge double dummy solver. The computation methods are run asynchronously and can return results either in a Promise or via a callback. Uses node-pre-gyp to manage the build and install.

Platform requirements

  • Node.js 0.12.x or higher
  • It has been tested on Linux, Max and Win32 and prebuilt binaries will normally be available for those platforms.

Methods Implemented

solveBoard(boardInfo, options): Promise<SolveResults>;
solveBoard(boardInfo, options, callback<SolveResults>);

calcResultTable(deal): Promise<ResultTable>;
calcResultTable(deal, callback<ResultTable>);

par(resultTable, vulnerability): Promise<ParContracts>;
par(resultTable, vulnerability, callback<ParContracts>);

About

node addon for the dds double-dummy solver for contract bridge

Resources

Stars

Watchers

Forks

Packages

No packages published