MorphoGraphX  2.0-1-227
Classes | Namespaces | Functions
Insert.hpp File Reference
#include <Config.hpp>
#include <Information.hpp>
#include <StaticAssert.hpp>
#include <VVGraph.hpp>
#include <utility>

Go to the source code of this file.

Classes

class  mgx::Insert< vvGraph >
 Insert a new vertex on an edge. More...
 

Namespaces

 mgx
 Distributed matrix library.
 

Functions

template<typename VertexContent , typename EdgeContent >
const VVGraph< VertexContent, EdgeContent >::vertex_t & mgx::insert (const typename VVGraph< VertexContent, EdgeContent >::vertex_t &a, const typename VVGraph< VertexContent, EdgeContent >::vertex_t &b, VVGraph< VertexContent, EdgeContent > &S)
 
template<class Graph >
Graph::edge_t mgx::insertAfter (const typename Graph::vertex_t &v, const typename Graph::vertex_t &ref, const typename Graph::vertex_t &nv, Graph &S)
 Splice nv after ref in v if ref is not null. More...
 
template<class Graph >
Graph::edge_t mgx::insertBefore (const typename Graph::vertex_t &v, const typename Graph::vertex_t &ref, const typename Graph::vertex_t &nv, Graph &S)
 Splice nv before ref in v if ref is not null. More...
 

Detailed Description

Defines the algorithms::Insert class template

Definition in file Insert.hpp.