MCPcopy Create free account
hub / github.com/bupticybee/TexasSolver / printTree

Method printTree

src/GameTree.cpp:613–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613void GameTree::printTree(int depth) {
614 if(depth < -1 || depth == 0){
615 throw runtime_error("depth can only be -1 or positive");
616 }
617 vector<string> prefix;
618 this->recurrentPrintTree(this->root,0,depth);
619}
620
621vector<double> GameTree::get_possible_bets(shared_ptr<ActionNode> root, int player, int next_player, Rule rule,
622 GameTree::BetType betType) {

Callers

nothing calls this directly

Calls 1

recurrentPrintTreeMethod · 0.95

Tested by

no test coverage detected