stlab.adobe.com Adobe Systems Incorporated

dancing_links_t Class Reference

#include <dancing_links.hpp>

List of all members.

Public Member Functions

template<typename ResultCallback , typename SearchHeuristic >
std::size_t search (std::size_t max_solutions, ResultCallback callback, SearchHeuristic heuristic)
std::size_t search (std::size_t max_solutions)
void set (std::size_t row, std::size_t col, char color=0)
void set_secondary_column (std::size_t col)

Friends

std::ostream & operator<< (std::ostream &s, const dancing_links_t &dancing_links_t)

Detailed Description

Definition at line 95 of file dancing_links.hpp.


Member Function Documentation

std::size_t search ( std::size_t  max_solutions,
ResultCallback  callback,
SearchHeuristic  heuristic 
)

Definition at line 116 of file dancing_links.hpp.

std::size_t search ( std::size_t  max_solutions )

Definition at line 129 of file dancing_links.hpp.

void set ( std::size_t  row,
std::size_t  col,
char  color = 0 
)

Definition at line 109 of file dancing_links.hpp.

void set_secondary_column ( std::size_t  col )

Definition at line 112 of file dancing_links.hpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const dancing_links_t dancing_links_t 
) [friend]

Definition at line 137 of file dancing_links.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google