STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions | Public Types
stapl::graph_color< CT > Struct Template Reference

A color interface class for Breadth-First Search, Depth-First Search and Dijkstra's algorithm. More...

Static Public Member Functions

static void white ()
 The white color represents those targets that are not yet visited.
 
static void gray ()
 The gray color represents those targets that have been visited, but are not yet finished.
 
static void black ()
 The black color represents those targets that have been visited and are finished.
 

Public Types

typedef CT value_type
 

Detailed Description

template<class CT>
struct stapl::graph_color< CT >

A color interface class for Breadth-First Search, Depth-First Search and Dijkstra's algorithm.

Template Parameters
CTThe type chosen to represent the colors. A specialization must be written by the user defining: . static CT white() {...} . static CT gray() {...} . static CT black() {...}

The documentation for this struct was generated from the following file: