Free Software Foundation GPLv3 LGPL Electronic Frontier Foundation
Mozilla.org OpenOffice.org Linux.com
OpenGraphtheory::Algorithms::AlgorithmPATH Class Reference
Inheritance diagram for OpenGraphtheory::Algorithms::AlgorithmPATH:
Collaboration diagram for OpenGraphtheory::Algorithms::AlgorithmPATH:

Public Member Functions

void Run (Graph &G, std::vector< std::string > parameters)
 
void AddPath (Graph &G, Vertex *from, Vertex *to, std::string pathname)
 
std::list< std::pair< Vertex
*, Edge * > * > 
FindShortestPath (Graph &G, Vertex *from, Vertex *to, VertexFilter *vertexfilter=NULL, EdgeFilter *edgefilter=NULL)
 
std::list< std::pair< Vertex
*, Edge * > * > 
FindPath (Graph &G, Vertex *from, Vertex *to, VertexFilter *vertexfilter=NULL, EdgeFilter *edgefilter=NULL)
 
VertexSet ReachableVertices (Graph &G, Vertex *from, VertexFilter *vertexfilter=NULL, EdgeFilter *edgefilter=NULL)
 
- Public Member Functions inherited from OpenGraphtheory::Algorithms::Algorithm
void RunInThread (const Graph &G, std::vector< std::string > parameters, ConditionVariable *threadFinishedSignal=NULL)
 
virtual bool SuitableFor (const Graph &G)
 
virtual bool CanGuaranteeApproximationDistance (const Graph &G, float MaxApproximationDistance)
 
virtual bool CanGuaranteeCorrectnessProbability (const Graph &G, float MinCorrectnessProbability)
 
- Public Member Functions inherited from Thread
void Terminate ()
 
void Join ()
 
void Lock ()
 
void Unlock ()
 
bool TryLock ()
 

Protected Member Functions

void DijkstraInit (Graph &G, VertexSet &Q, VertexWeighting &distance, Vertex *from)
 
void DijkstraUpdate (Vertex *v, Edge *e, Vertex *u, VertexWeighting &distance, std::map< Vertex *, std::pair< Vertex *, Edge * > * > &path)
 
std::list< std::pair< Vertex
*, Edge * > * > 
DijkstraExtract (Vertex *from, Vertex *to, std::map< Vertex *, std::pair< Vertex *, Edge * > * > &path)
 
- Protected Member Functions inherited from OpenGraphtheory::Algorithms::Algorithm
void RunThread (void *parameter)
 
- Protected Member Functions inherited from Thread
void Start (void *parameter, ConditionVariable *threadFinishedSignal=NULL)
 

Static Protected Attributes

static MultiFactoryRegistrator
< Algorithm
AlgorithmPathRegistrator
 

Additional Inherited Members

- Static Public Member Functions inherited from OpenGraphtheory::Algorithms::Algorithm
static void RunParallel (std::set< Algorithm * > algos, const Graph &G, std::vector< std::string > parameters, float MaxApproximationDistance=1.0, float MinCorrectnessProbability=1.0)
 
- Static Public Attributes inherited from OpenGraphtheory::Algorithms::Algorithm
static MultiFactory< AlgorithmAlgorithmFactory
 
- Protected Attributes inherited from Thread
Mutex mutex
 

The documentation for this class was generated from the following files:
  • sources/opengt.so/Headers/algorithms/path/path.h
  • sources/opengt.so/Sources/algorithms/path/path.cpp
Contributors Disclaimer