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

Method init

library/src/solver_context/solver_context.cpp:445–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445auto SolverContext::MoveGenContext::init(
446 const int tricks,
447 const int relStartHand,
448 const int initialRanks[],
449 const int initialSuits[],
450 const unsigned short rank_in_suit[DDS_HANDS][DDS_SUITS],
451 const int trump,
452 const int leadHand) -> void
453{
454 thr_->moves.Init(tricks, relStartHand, initialRanks, initialSuits,
455 rank_in_suit, trump, leadHand);
456}
457
458auto SolverContext::MoveGenContext::print_trick_stats(std::ofstream& fout) const -> void
459{

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected