graph::VVBiGraph< Vertex1Content, Vertex2Content, Edge1Content, Edge2Content_, compact >::single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent > Struct Template Reference

Type of the neighborhood of a vertex. More...

#include <vvbigraph.h>

Inherits graph::__vvbigraph_VertexCache< VVBIGRAPH_COMPACT_VERTEX, VVBiGraph, single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent >, graph::Vertex< VertexSrcContent > >.

List of all members.

Public Types

typedef neighbor_t
< VertexSrcContent,
VertexTgtContent,
EdgeSrcContent > 
_neighbor_t
typedef
__vvbigraph_VertexCache
< VVBIGRAPH_COMPACT_VERTEX,
VVBiGraph,
single_neighborhood_t,
graph::Vertex
< VertexSrcContent > > 
base
typedef graph::Vertex
< VertexSrcContent > 
vertex_src_t
typedef graph::Vertex
< VertexTgtContent > 
vertex_tgt_t

Public Member Functions

bool operator== (const single_neighborhood_t &other) const
 Equality of two neighborhood.
 single_neighborhood_t (const single_neighborhood_t &copy)

Public Attributes

_neighbor_t::edge_list_t edges
 List of the outgoing edges.
const vertex_tgt_tflagged
 Flagged neighbor.
__vvbigraph_set< compact,
vertex_tgt_t >::type 
in_edges
 Set of the sources of the incoming edges.

Detailed Description

template<typename Vertex1Content, typename Vertex2Content, typename Edge1Content = _EmptyBiEdgeContent, typename Edge2Content_ = Edge1Content, bool compact = false>
template<typename VertexSrcContent, typename VertexTgtContent, typename EdgeSrcContent>
struct graph::VVBiGraph< Vertex1Content, Vertex2Content, Edge1Content, Edge2Content_, compact >::single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent >

Type of the neighborhood of a vertex.

Definition at line 529 of file vvbigraph.h.


Member Function Documentation

template<typename Vertex1Content, typename Vertex2Content, typename Edge1Content = _EmptyBiEdgeContent, typename Edge2Content_ = Edge1Content, bool compact = false>
template<typename VertexSrcContent , typename VertexTgtContent , typename EdgeSrcContent >
bool graph::VVBiGraph< Vertex1Content, Vertex2Content, Edge1Content, Edge2Content_, compact >::single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent >::operator== ( const single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent > &  other  )  const [inline]

Equality of two neighborhood.

Only the outgoing edges are compared!

Definition at line 585 of file vvbigraph.h.

References graph::VVBiGraph< Vertex1Content, Vertex2Content, Edge1Content, Edge2Content_, compact >::single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent >::edges.

00586                                                 {
00587                                                   return edges == other.edges;
00588                                                 }


Member Data Documentation

template<typename Vertex1Content, typename Vertex2Content, typename Edge1Content = _EmptyBiEdgeContent, typename Edge2Content_ = Edge1Content, bool compact = false>
template<typename VertexSrcContent , typename VertexTgtContent , typename EdgeSrcContent >
_neighbor_t::edge_list_t graph::VVBiGraph< Vertex1Content, Vertex2Content, Edge1Content, Edge2Content_, compact >::single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent >::edges
template<typename Vertex1Content, typename Vertex2Content, typename Edge1Content = _EmptyBiEdgeContent, typename Edge2Content_ = Edge1Content, bool compact = false>
template<typename VertexSrcContent , typename VertexTgtContent , typename EdgeSrcContent >
const vertex_tgt_t* graph::VVBiGraph< Vertex1Content, Vertex2Content, Edge1Content, Edge2Content_, compact >::single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent >::flagged

Flagged neighbor.

Definition at line 578 of file vvbigraph.h.

template<typename Vertex1Content, typename Vertex2Content, typename Edge1Content = _EmptyBiEdgeContent, typename Edge2Content_ = Edge1Content, bool compact = false>
template<typename VertexSrcContent , typename VertexTgtContent , typename EdgeSrcContent >
__vvbigraph_set<compact,vertex_tgt_t>::type graph::VVBiGraph< Vertex1Content, Vertex2Content, Edge1Content, Edge2Content_, compact >::single_neighborhood_t< VertexSrcContent, VertexTgtContent, EdgeSrcContent >::in_edges

Set of the sources of the incoming edges.

Definition at line 573 of file vvbigraph.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Fri May 31 15:38:10 2013 for VVE by  doxygen 1.6.3