Public Types | Public Member Functions | Private Attributes
graph Class Reference

#include <graph.h>

List of all members.

Public Types

typedef std::pair< Vertex, VertexEdge
typedef long int Vertex
typedef float Weight

Public Member Functions

void addEdge (Vertex v1, Vertex v2, Weight w)
 graph (Vertex vCount=0)
std::vector< Weight > & operator[] (Vertex v)
Vertex vertexCount () const

Private Attributes

std::vector< std::vector
< Weight > > 
graph_

Detailed Description

Definition at line 10 of file graph.h.


Member Typedef Documentation

typedef std::pair<Vertex, Vertex> graph::Edge

Definition at line 15 of file graph.h.

typedef long int graph::Vertex

Definition at line 13 of file graph.h.

typedef float graph::Weight

Definition at line 14 of file graph.h.


Constructor & Destructor Documentation

graph::graph ( Vertex  vCount = 0) [inline]

Definition at line 17 of file graph.h.


Member Function Documentation

void graph::addEdge ( Vertex  v1,
Vertex  v2,
Weight  w 
) [inline]

Definition at line 38 of file graph.h.

std::vector<Weight>& graph::operator[] ( Vertex  v) [inline]

Definition at line 33 of file graph.h.

Vertex graph::vertexCount ( ) const [inline]

Definition at line 28 of file graph.h.


Member Data Documentation

std::vector<std::vector<Weight> > graph::graph_ [private]

Definition at line 47 of file graph.h.


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


tensor_field_nav_core
Author(s): Lintao Zheng, Kai Xu
autogenerated on Thu Jun 6 2019 19:50:56