Free Software Foundation GPLv3 LGPL Electronic Frontier Foundation
Mozilla.org OpenOffice.org Linux.com
OpenGraphtheory::Algorithms::Treewidth::TreewidthBasedAlgorithm< T > Class Template Referenceabstract
Inheritance diagram for OpenGraphtheory::Algorithms::Treewidth::TreewidthBasedAlgorithm< T >:
Collaboration diagram for OpenGraphtheory::Algorithms::Treewidth::TreewidthBasedAlgorithm< T >:

Public Member Functions

void Run (Graph &G, std::vector< std::string > parameters)
 
- 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

virtual T * HandleEmptyBag (Graph &G)
 
virtual T * HandleLeafNode (Graph &G, VertexIterator Introduced)
 
virtual T * HandleIntroduceNode (Graph &G, T *SubtreeResult, VertexSet &Bag, VertexIterator Introduced)=0
 
virtual T * HandleForgetNode (Graph &G, T *SubtreeResult, VertexSet &Bag, VertexIterator Introduced)=0
 
virtual T * HandleJoinNode (Graph &G, T *Subtree1Result, T *Subtree2Result, VertexSet &Bag)=0
 
virtual void HandleRootNode (Graph &G, T *RootResult, std::vector< std::string > parameters)=0
 
std::pair< T *, VertexSetRun (Graph &G, NiceTreeDecomposition *Decomposition)
 
- 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)
 

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