Free Software Foundation GPLv3 LGPL Electronic Frontier Foundation
OpenGraphtheory::Algorithms::ApproximationAlgorithm Class Reference
Inheritance diagram for OpenGraphtheory::Algorithms::ApproximationAlgorithm:
Collaboration diagram for OpenGraphtheory::Algorithms::ApproximationAlgorithm:

Public Member Functions

virtual bool CanGuaranteeApproximationDistance (const Graph &G, float MaxApproximationDistance)
- Public Member Functions inherited from OpenGraphtheory::Algorithms::Algorithm
virtual void Run (Graph &G, std::vector< std::string > parameters)=0
void RunInThread (const Graph &G, std::vector< std::string > parameters, ConditionVariable *threadFinishedSignal=NULL)
virtual bool SuitableFor (const Graph &G)
virtual bool CanGuaranteeCorrectnessProbability (const Graph &G, float MinCorrectnessProbability)
- Public Member Functions inherited from Thread
void Terminate ()
void Join ()
void Lock ()
void Unlock ()
bool TryLock ()

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 Member Functions inherited from OpenGraphtheory::Algorithms::Algorithm
void RunThread (void *parameter)
- Protected Attributes inherited from Thread
Mutex mutex

The documentation for this class was generated from the following files:
  • sources/
  • sources/
Contributors Disclaimer