27 #ifndef CDPL_UTIL_BRONKERBOSCHALGORITHM_HPP
28 #define CDPL_UTIL_BRONKERBOSCHALGORITHM_HPP
100 typedef std::vector<std::size_t> NodeDegreeTable;
101 typedef std::vector<State*> StateStack;
105 StateCache stateCache;
106 NodeDegreeTable nodeDegrees;
Definition of class CDPL::Util::Array.
Declaration of type CDPL::Util::BitSet.
Definition of class CDPL::Util::ObjectStack.
Definition of the preprocessor macro CDPL_UTIL_API.
#define CDPL_UTIL_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Implementation of the Bron-Kerbosch clique-detection algorithm [BKA].
Definition: BronKerboschAlgorithm.hpp:49
void init(const BitSetArray &adj_mtx)
(Re-)initializes the algorithm with the adjacency matrix adj_mtx and resets the clique iterator.
BronKerboschAlgorithm()
Constructs the BronKerboschAlgorithm instance without an associated adjacency matrix.
Definition: BronKerboschAlgorithm.hpp:55
bool nextClique(BitSet &clique)
Advances the clique iterator and writes the next maximal clique into clique.
BronKerboschAlgorithm(const BitSetArray &adj_mtx)
Constructs the BronKerboschAlgorithm instance and immediately initializes it with the adjacency matri...
BronKerboschAlgorithm(const BronKerboschAlgorithm &bka)
Constructs a copy of the BronKerboschAlgorithm instance bka.
BronKerboschAlgorithm & operator=(const BronKerboschAlgorithm &bka)
Copy assignment operator.
boost::dynamic_bitset BitSet
Dynamic bitset class.
Definition: BitSet.hpp:46
Array< BitSet > BitSetArray
Array storing Util::BitSet objects.
Definition: Array.hpp:605
The namespace of the Chemical Data Processing Library.