priority_graph Class Reference

Detailed Description

Definition at line 16 of file priority_graph.h.

#include <priority_graph.h>

Public Member Functions

void addEdge (int node_i, int node_j)
 
set< int > getNeighbors (int node)
 
void addNode (int id)
 
bool removeNode (int node, vector< int > &removed)
 
set< int > getNodes ()
 

Member Function Documentation

void priority_graph::addEdge ( int  node_i,
int  node_j 
)
inline

Definition at line 21 of file priority_graph.h.

References comp().

Referenced by gcg::RowGraphWeighted< T >::calculateSimilarity().

void priority_graph::addNode ( int  id)
inline

Definition at line 47 of file priority_graph.h.

Referenced by gcg::RowGraphWeighted< T >::calculateSimilarity().

set<int> priority_graph::getNeighbors ( int  node)
inline

Definition at line 38 of file priority_graph.h.

Referenced by gcg::RowGraphWeighted< T >::calculateSimilarity().

set<int> priority_graph::getNodes ( )
inline

Definition at line 81 of file priority_graph.h.

bool priority_graph::removeNode ( int  node,
vector< int > &  removed 
)
inline

Definition at line 52 of file priority_graph.h.

References comp().

Referenced by gcg::RowGraphWeighted< T >::calculateSimilarity().