Base class for all graph generators. More...
Public Member Functions | |
| generator_base (size_t n) | |
| Constructs a generator, as well as a new graph of size n.  More... | |
| generator_base (graph_type &g, size_t n) | |
| graph_type | operator() () | 
| Calls add_vertices and add_edges on the derived class.  More... | |
Protected Member Functions | |
| graph_type & | graph () | 
| void | add_vertices () | 
| Function which is called to add vertices to the graph using the default functor.  | |
| template<typename VF > | |
| void | add_vertices (VF const &vf) | 
| Function which is called to add vertices to the graph using the provided vertex addition functor.  More... | |
| template<typename EF > | |
| void | add_edges (EF const &ef) | 
| Function which is called to add edges to the graph using the provided edge addition functor.  More... | |
Base class for all graph generators.
| Derived | Type of the derived class, used to implement static polymorphism via the CRTP idiom. | 
| stapl::generators::generator_base< Derived >::generator_base | ( | size_t | n | ) | 
Constructs a generator, as well as a new graph of size n.
| n | Size of the new graph. | 
| stapl::generators::generator_base< Derived >::generator_base | ( | graph_type & | g, | 
| size_t | n | ||
| ) | 
| g | View over the generated graph. | 
| n | Size of the graph. | 
      
  | 
  protected | 
Function which is called to add vertices to the graph using the provided vertex addition functor.
| vf | Functor which is used to add vertices. | 
      
  | 
  protected | 
Function which is called to add edges to the graph using the provided edge addition functor.
| ef | Functor which is used to add edges. | 
| graph_type stapl::generators::generator_base< Derived >::operator() | ( | void | ) | 
Calls add_vertices and add_edges on the derived class.
 1.8.13