Assignment Search Framework
|
Functions | |
ostream & | operator<< (std::ostream &out, const TilePuzzleState &s) |
bool | operator== (const TilePuzzleState &s1, const TilePuzzleState &s2) |
bool | operator!= (const TilePuzzleState &s1, const TilePuzzleState &s2) |
bool operator!= | ( | const TilePuzzleState & | s1, |
const TilePuzzleState & | s2 | ||
) |
Defines inequality for puzzle states.
s1 | The first state to compare. |
s2 | The second state to compare. |
ostream& operator<< | ( | std::ostream & | out, |
const TilePuzzleState & | s | ||
) |
Outputs a string representation of the sliding tile puzzle state to the given output stream.
out | The output stream. |
s | The puzzle to output. |
bool operator== | ( | const TilePuzzleState & | s1, |
const TilePuzzleState & | s2 | ||
) |
Defines equality of two puzzle states.
s1 | The first state to test. |
s2 | The second state to test. |