DominationΒΆ

Functions for computing dominating sets in a graph.

is_k_dominating_set(G, nodes, k) Return whether or not nodes comprises a k-dominating set.
is_total_dominating_set(G, nodes) Return whether or not nodes comprises a total dominating set.
min_k_dominating_set(G, k) Return a smallest k-dominating set in the graph.
min_dominating_set(G) Return a smallest dominating set in the graph.
min_total_dominating_set(G) Return a smallest total dominating set in the graph.
domination_number(G) Return the domination number the graph.
k_domination_number(G, k) Return the k-domination number the graph.
total_domination_number(G) Return the total domination number the graph.