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

Public Member Functions

void Run (Graph &G, std::vector< std::string > parameters)
 
bool FindDominatingSet (Graph &G, VertexSet &DominatingSet, unsigned int k, bool VerticesCanDominateThemselves=true)
 
void AddDominatingSet (Graph &G, std::string DominatingSetName, bool VerticesCanDominateThemselves=true)
 
- 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

bool TestDominatingSet (Graph &G, std::map< Vertex *, int > &Dominators, VertexSet &Undominated, VertexSet &Excluded, VertexSet &DominatingSet, unsigned int k, bool VerticesCanDominateThemselves=true)
 
- 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
AlgorithmDominatingSetRegistrator
 

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/dominatingset/dominatingset.h
  • sources/opengt.so/Sources/algorithms/dominatingset/dominatingset.cpp
Contributors Disclaimer