sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Coloring.MarkSourceProvide a function for k-coloring a graph with integer marks. The provided function is more efficient that the one provided by functor Make above.
coloring g k colors the nodes of graph g using k colors, assigning the marks integer values between 1 and k.
The graph marks may be partially set before starting; the meaning of initial values is as follows:
k: a color already assignedk: a node to be ignoredWorst-case time complexity is exponential. Space complexity is O(V).