graph Namespace Reference

Contains all the classes related to the graphs. More...

Classes

class  _EmptyEdgeContent
 Empty class used as default for edge content. More...
struct  Arc
 Type of a undirected edge (or arc). More...
struct  CountedContent
 Type of the reference counted content. More...
class  Edge
 Edge of a vv graph. More...
class  Vertex
 Vertex of a vv graph. More...
class  VVBiGraph
 Class representing a VV graph. More...
class  VVGraph
 Class representing a VV graph. More...
class  WeakVertex
 Weak pointer on a vertex. More...

Typedefs

typedef uintptr_t edge_identity_t
 Type of the identifier of an edge.
typedef uintptr_t vertex_identity_t
 Type of the identifier of a vertex.

Functions

template<typename T >
void copy_symmetric (T &e2, const T &e1)
 Default copy of the arc uses the = operator.
template<typename BiGraph >
void create_bigraph_methods (BiGraph &G)
template<typename Graph >
void create_graph_methods (Graph &G)
template<typename T >
Edge< T > create_object (Edge< T > const &e)
template<typename T >
Vertex< T > create_object (Vertex< T > const &v)
intptr_t getNextGraphId ()
template<TEMPLATE_VERTEX , typename charT >
std::basic_ostream< charT > & operator<< (std::basic_ostream< charT > &ss, const Vertex< VERTEX_ARGS > &v)
template<typename V1 , typename V2 , typename E1 , typename E2 , bool compact>
bool serialization (storage::VVEStorage &store, VVBiGraph< V1, V2, E1, E2, compact > &G)
template<typename V , typename E , bool compact>
bool serialization (storage::VVEStorage &store, VVGraph< V, E, compact > &G)
template<typename T >
bool serialization (storage::VVEStorage &store, Edge< T > &e)
template<typename T >
bool serialization (storage::VVEStorage &store, Vertex< T > &v)

Variables

size_t vertex_counter = 0
 Number used to enumerate the vertices of all types.

Detailed Description

Contains all the classes related to the graphs.

For now, the only graph available is the VVGraph.


Typedef Documentation

typedef uintptr_t graph::edge_identity_t

Type of the identifier of an edge.

Definition at line 22 of file edge.h.

typedef uintptr_t graph::vertex_identity_t

Type of the identifier of a vertex.

Definition at line 58 of file vertex.h.


Function Documentation

template<typename T >
void graph::copy_symmetric ( T &  e2,
const T &  e1 
) [inline]

Default copy of the arc uses the = operator.

Overload this function for your own type to change this behavior.

Definition at line 256 of file edge.h.

Referenced by graph::Arc< EdgeContent >::sync().

00257   {
00258     e2 = e1;
00259   }


Variable Documentation

Number used to enumerate the vertices of all types.

This number exists only if NO_NUMBER_VERTICES is not defined at compile time.

Definition at line 6 of file vertex.cpp.

Referenced by Model::Model().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:38:08 2013 for VVE by  doxygen 1.6.3