dancing_links.hpp
Go to the documentation of this file.
7 /****************************************************************************************************/
12 /****************************************************************************************************/
33 /****************************************************************************************************/
37 /****************************************************************************************************/
41 /****************************************************************************************************/
45 /****************************************************************************************************/
53 /****************************************************************************************************/
61 /****************************************************************************************************/
85 /****************************************************************************************************/
89 /****************************************************************************************************/
93 /****************************************************************************************************/
165 std::cout << adobe::indents(tab_count_m) << "<c" << toroid_m.column_index_of(toroid_m.down_of(c)) << ">" << std::endl;
174 std::cout << adobe::indents(tab_count_m) << "<r" << toroid_m.row_index_of(r) << ">" << std::endl;
185 std::cout << adobe::indents(tab_count_m) << "<c" << toroid_m.column_index_of(j) << ">" << std::endl;
192 std::cout << adobe::indents(tab_count_m) << "<p" << toroid_m.column_index_of(j) << ">" << std::endl;
217 std::cout << adobe::indents(tab_count_m) << "</c" << toroid_m.column_index_of(j) << ">" << std::endl;
224 std::cout << adobe::indents(tab_count_m) << "</p" << toroid_m.column_index_of(j) << ">" << std::endl;
231 std::cout << adobe::indents(tab_count_m) << "</r" << toroid_m.row_index_of(r) << ">" << std::endl;
238 std::cout << adobe::indents(tab_count_m) << "</c" << toroid_m.column_index_of(toroid_m.down_of(c)) << ">" << std::endl;
252 /****************************************************************************************************/
256 /****************************************************************************************************/
260 /****************************************************************************************************/
void set(std::size_t row, std::size_t col, char color=0) Definition: dancing_links.hpp:109 std::size_t search(std::size_t max_solutions) Definition: dancing_links.hpp:129 void callback(std::ios_base::event ev, std::ios_base &strm, int idx) Definition: iomanip.hpp:315 friend std::ostream & operator<<(std::ostream &s, const dancing_links_t &dancing_links_t) Definition: dancing_links.hpp:137 void set_secondary_column(std::size_t col) Definition: dancing_links.hpp:112 Definition: functional.hpp:26 std::size_t search(std::size_t max_solutions, ResultCallback callback, SearchHeuristic heuristic) Definition: dancing_links.hpp:116 Definition: iomanip.hpp:213 Definition: dancing_links.hpp:95 |