msmazes::BasicCellEqualityPolicy Struct Reference
[Core Pattern Layer]

#include <msmazes/core/pattern/base.hpp>

List of all members.


Detailed Description

Use when the == operator provides the desired behavior when checking for equality between two cells in a Pattern.


Model of



Public Member Functions

template<typename Cell>
bool operator() (const Cell &c1, const Cell &c2) const


Member Function Documentation

template<typename Cell>
bool msmazes::BasicCellEqualityPolicy::operator() const Cell &  c1,
const Cell &  c2
const [inline]
 

Returns true if the specified cells are lexicographically equivalent, false otherwise.

Parameter Name Description Preconditions
c1 The first cell.
c2 The second cell. There exists a pattern that contains both cells.

Returns:
true if c1 == c2, false otherwise.


Multi-State Mazes in C++ is hosted by SourceForge.net. Use the Table of Contents for navigation.