tools/opening-book/book_maker.cpp
void print_protobook(std::vector<BookNode>& pbook) {
    for (int i = 0; i < pbook.size(); ++i) {
        std::cout << pbook[i].key << std::endl;
        for (int j = 0; j < pbook[i].edges.size(); ++j) {
            std::cout << "(" << pbook[i].edges[j].move.to_string() << ", " << pbook[i].edges[j].child_node << ") | ";
        }
        std::cout << std::endl;
    }
}
/**
 * prints the vector of BookNodes to the terminal for visual verification of structure
 * @param pbook vector of BookNodes that makes up the core of Book object
 */
prints the vector of BookNodes to the terminal for visual verification of structure
@param pbook vector of BookNodes that makes up the core of Book object
prints the vector of BookNodes to the terminal for visual verification of structure @param pbook vector of BookNodes that makes up the core of Book object
void print_protobook(std::vector<BookNode>& pbook) {
    for (int i = 0; i < pbook.size(); ++i) {
        std::cout << pbook[i].key << std::endl;
        for (int j = 0; j < pbook[i].edges.size(); ++j) {
            std::cout << "(" << pbook[i].edges[j].move.to_string() << ", " << pbook[i].edges[j].child_node << ") | ";
        }
        std::cout << std::endl;
    }
}
void print_protobook ( std :: vector < BookNode > & pbook ) { for ( int i = 0 ; i < pbook . size ( ) ; ++ i ) { std :: cout << pbook [ i ] . key << std :: endl ; for ( int j = 0 ; j < pbook [ i ] . edges . size ( ) ; ++ j ) { std :: cout << " " << pbook [ i ] . edges [ j ] . move . to_string ( ) << " " << pbook [ i ] . edges [ j ] . child_node << " " ; } std :: cout << std :: endl ; } }
prints the vector of BookNodes to the terminal for visual verification of structure
 @param pbook vector of BookNodes that makes up the core of Book object
prints the vector of BookNodes to the terminal for visual verification of structure @param pbook vector of BookNodes that makes up the core of Book object