msmazes::DefaultCrossEdgeRemovalIntruder Class Reference
[Core Graph Layer]

#include <remove_cross_edges.hpp>

List of all members.


Detailed Description

msmazes/core/graph/remove_cross_edges.hpp

The type of the default intruder_arg passed to the msmazes::removeCrossEdges() function template.


Model of:



Public Member Functions

template<typename Graph>
void pathEdgeTemporarilyRemoved (typename boost::graph_traits< Graph >::vertex_descriptor u, typename boost::graph_traits< Graph >::vertex_descriptor v, Graph &g)
 Invoked when the specified edge is temporarily removed from the specified graph.
template<typename Graph>
bool canRemoveCrossEdge (typename boost::graph_traits< Graph >::edge_descriptor e, Graph &g)
 Upon returning true, the specified cross edge will be removed from the specified graph.
template<typename Graph>
void pathEdgeReinstated (typename boost::graph_traits< Graph >::edge_descriptor e, Graph &g)
 Invoked when the specified edge is reinstated to the specified graph.


Member Function Documentation

template<typename Graph>
void msmazes::DefaultCrossEdgeRemovalIntruder::pathEdgeTemporarilyRemoved typename boost::graph_traits< Graph >::vertex_descriptor  u,
typename boost::graph_traits< Graph >::vertex_descriptor  v,
Graph &  g
[inline]
 

Invoked when the specified edge is temporarily removed from the specified graph.

Parameters:
u the source vertex of the specified edge.
v the target vertex of the specified edge.
g the specified graph.

template<typename Graph>
bool msmazes::DefaultCrossEdgeRemovalIntruder::canRemoveCrossEdge typename boost::graph_traits< Graph >::edge_descriptor  e,
Graph &  g
[inline]
 

If this function returns true, the specified cross edge will be removed from the specified graph; otherwise, it will stay in the graph.

Parameters:
e the specified cross edge.
g the specified graph.
Returns:
true by default.

template<typename Graph>
void msmazes::DefaultCrossEdgeRemovalIntruder::pathEdgeReinstated typename boost::graph_traits< Graph >::edge_descriptor  e,
Graph &  g
[inline]
 

Invoked when the specified edge is reinstated to the specified graph.

Parameters:
e the specified edge.
g the specified graph.


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