MCPcopy Create free account
hub / github.com/dds-bridge/dds / solve_legacy

Function solve_legacy

examples/migration_example.cpp:15–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <dds/dds.hpp>
14
15void solve_legacy(const Deal& deal)
16{
17 SetMaxThreads(4);
18 SetResources(2000, 4);
19
20 FutureTricks fut;
21 int res = SolveBoard(deal, -1, 3, 0, &fut, 0);
22 (void)res;
23
24 FreeMemory();
25}
26
27void solve_modern(const Deal& deal)
28{

Callers 1

mainFunction · 0.85

Calls 4

SetMaxThreadsFunction · 0.85
SetResourcesFunction · 0.85
FreeMemoryFunction · 0.85
SolveBoardFunction · 0.50

Tested by

no test coverage detected