msmazes::FSMNoInputMaker Struct Reference
[Core FSM Layer]

#include <msmazes/core/fsm/input/maker_no.hpp>

List of all members.


Detailed Description

This FSM Input Maker is special; it instructs the FSM Builder to assign a unique, zero-based index to each outbound connection from a cell in a Pattern. A const reference to this pattern and its underlying graph are exposed by the FSM builder to the application so that the application can correctly map the connections' corresponding passages to these indices.

Currently, you must use this struct if you want to build a maze on top of a SpherePattern with more than one spherical layer.


Model of



Public Types

typedef boost::mpl::false_ RequiresSingleLayer
typedef boost::mpl::false_ RequiresLastVisitedMap

Static Public Member Functions

template<typename Pattern>
Pattern::CellIndex getInputCount (const Pattern &pattern)
template<typename Pattern>
Pattern::CellIndex getInput (const Pattern &pattern, const typename Pattern::CellIndex previous_cell_i, const typename Pattern::CellIndex current_cell_i, const typename Pattern::CellIndex next_cell_i)


Member Typedef Documentation

typedef boost::mpl::false_ msmazes::FSMNoInputMaker::RequiresSingleLayer
 

This FSM Input Maker does not require a single layer.

typedef boost::mpl::false_ msmazes::FSMNoInputMaker::RequiresLastVisitedMap
 

This FSM Input Maker does not require a last-visited map.


Member Function Documentation

template<typename Pattern>
Pattern::CellIndex msmazes::FSMNoInputMaker::getInputCount const Pattern &  pattern  )  [inline, static]
 

Not used.

template<typename Pattern>
Pattern::CellIndex msmazes::FSMNoInputMaker::getInput const Pattern &  pattern,
const typename Pattern::CellIndex  previous_cell_i,
const typename Pattern::CellIndex  current_cell_i,
const typename Pattern::CellIndex  next_cell_i
[inline, static]
 

Not used.


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