YARP
Yet Another Robot Platform
yarp::profiler::graph::Graph Class Reference

The yarp::profiler::graph::Graph class. More...

#include <yarp/profiler/Graph.h>

Public Member Functions

 Graph ()
 yarp::profiler::graph::Graph More...
 
virtual ~Graph ()
 
pvertex_iterator insert (const Vertex &vertex)
 
void remove (const Vertex &vertex)
 
void remove (const pvertex_iterator vi)
 
void insertEdge (const Vertex &v1, const Vertex &v2, const yarp::os::Property &property="")
 
void insertEdge (const pvertex_iterator vi1, const pvertex_iterator vi2, const yarp::os::Property &property="")
 
const pvertex_iterator find (const Vertex &v1)
 
size_t size ()
 
size_t nodesCount ()
 
const pvertex_setvertices ()
 
size_t order ()
 
void clear ()
 

Detailed Description

The yarp::profiler::graph::Graph class.

Definition at line 111 of file Graph.h.

Constructor & Destructor Documentation

◆ Graph()

Graph::Graph ( )
default

◆ ~Graph()

Graph::~Graph ( )
virtual

Definition at line 103 of file Graph.cpp.

Member Function Documentation

◆ clear()

void Graph::clear ( )

Definition at line 178 of file Graph.cpp.

◆ find()

const pvertex_iterator Graph::find ( const Vertex v1)

Definition at line 155 of file Graph.cpp.

◆ insert()

pvertex_iterator Graph::insert ( const Vertex vertex)

Definition at line 119 of file Graph.cpp.

◆ insertEdge() [1/2]

void Graph::insertEdge ( const pvertex_iterator  vi1,
const pvertex_iterator  vi2,
const yarp::os::Property property = "" 
)

Definition at line 146 of file Graph.cpp.

◆ insertEdge() [2/2]

void Graph::insertEdge ( const Vertex v1,
const Vertex v2,
const yarp::os::Property property = "" 
)

Definition at line 139 of file Graph.cpp.

◆ nodesCount()

size_t Graph::nodesCount ( )

Definition at line 173 of file Graph.cpp.

◆ order()

size_t yarp::profiler::graph::Graph::order ( )
inline

Definition at line 134 of file Graph.h.

◆ remove() [1/2]

void Graph::remove ( const pvertex_iterator  vi)

Definition at line 132 of file Graph.cpp.

◆ remove() [2/2]

void Graph::remove ( const Vertex vertex)

Definition at line 128 of file Graph.cpp.

◆ size()

size_t Graph::size ( )

Definition at line 165 of file Graph.cpp.

◆ vertices()

const pvertex_set& yarp::profiler::graph::Graph::vertices ( )
inline

Definition at line 133 of file Graph.h.


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