|
| using | NodeColor = unsigned int |
| | Data type of the node colors.
|
| |
| enum class | RamseyProcedure { smallestIndex
, smallestDegree
, largestDegree
, extremalDegree
} |
| | Declares the procedure of finding nodes in Ramsey's algorithm. More...
|
| |
| enum class | SearchProcedure { linearSearch
, binarySearch
, wigdersonSearch
} |
| | Declares the search procedures. More...
|
| |
| template<class CONTAINER > |
| bool | checkIndependentSet (const Graph &graph, const CONTAINER &nodes) const |
| | Checks if subgraph induced by the given nodes forms an independent set.
|
| |
| virtual void | cliqueRemoval (const Graph &graph, List< node > &independentSet) const |
| | Applies the clique removal algorithm for finding a large independent set in a given graph.
|
| |
| virtual void | createBuckets (const Graph &graph, int size, Array< Array< node > > &buckets) const |
| | Creates a partitioning of the node set into buckets of a given size.
|
| |
| virtual int | getMaximumDegreeNode (const Graph &graph, node &maxDegreeNode) const |
| | Searches for a maximum degree node in the graph.
|
| |
| virtual int | getMaximumDegreeNodes (const Graph &graph, List< node > &maxDegreeNodes) const |
| | Searches for all nodes with maximum degree in the graph.
|
| |
| virtual NodeColor | getMaximumNodeColor (NodeArray< NodeColor > &colors) |
| | Calculates the maximum node color index used in a certain node coloring.
|
| |
| virtual int | getMinimumDegreeNode (const Graph &graph, node &minDegreeNode) const |
| | Searches for a minimum degree node in the graph.
|
| |
| virtual int | getMinimumDegreeNodes (const Graph &graph, List< node > &minDegreeNodes) const |
| | Searches for all nodes with minimum degree in the graph.
|
| |
| int | getNeighborDegrees (const node &v) const |
| | Calculates the sum of neighbor nodes degrees for a given node v.
|
| |
| template<class LISTITERATOR > |
| void | getNeighbors (const Graph &graph, LISTITERATOR nodes, List< node > &neighbors) const |
| | Calculates the set of neighbors Y for a given set of nodes X.
|
| |
| template<class LISTITERATOR > |
| void | getNeighborsComplement (const Graph &graph, LISTITERATOR nodes, List< node > &complementNeighbors) const |
| | Calculates the set of complement neighbors Y for a given set of nodes X.
|
| |
| template<class LISTITERATOR > |
| void | mergeNodeLists (const Graph &graph, LISTITERATOR firstList, LISTITERATOR secondList, List< node > &mergedList) const |
| | Merges two lists of nodes and deletes the duplicates.
|
| |
| virtual void | ramseyAlgorithm (const Graph &graph, List< node > &clique, List< node > &independentSet) const |
| | Performs the Ramsey algorithm for finding heuristically large cliques and independents sets in a graph.
|
| |
| virtual void | reverseNodeTable (const Graph &graphOrig, const Graph &graphNew, const NodeArray< node > &orig2New, NodeArray< node > &new2Orig) const |
| | Reverses the mapping between the nodes sets of a graph and a subgraph.
|
| |
| int | searchBinary (SearchWrapper *searchWrapper, int start, int end) const |
| | Performs a binary search in a specified range with a given oracle.
|
| |
| int | searchLinear (SearchWrapper *searchWrapper, int start, int end) const |
| | Performs a linear search in a specified range with a given oracle.
|
| |
| int | searchWigderson (SearchWrapper *searchWrapper) const |
| | Performs a the search procedure specified by Wigderson.
|
| |
| RamseyProcedure | m_ramseyProcedure |
| | The RamseyProcedure to be used to select nodes.
|
| |
A simple greedy node coloring heuristic in graphs.
It colors one node after another by preferring nodes with a large degree.
Definition at line 45 of file NodeColoringRecursiveLargestFirst.h.