You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compute a distance-2 coloring of the given `side` (`1` or `2`) in the bipartite graph `bg` and return a vector of integer colors.
5
5
6
6
A _distance-2 coloring_ is such that two vertices have different colors if they are at distance at most 2.
7
7
8
-
The vertices are colored in a greedy fashion, following the `order` supplied.
8
+
The vertices are colored in a greedy fashion, following the order supplied.
9
9
10
10
# See also
11
11
@@ -17,11 +17,10 @@ The vertices are colored in a greedy fashion, following the `order` supplied.
17
17
> [_What Color Is Your Jacobian? Graph Coloring for Computing Derivatives_](https://epubs.siam.org/doi/10.1137/S0036144504444711), Gebremedhin et al. (2005), Algorithm 3.2
Compute a star coloring of all vertices in the adjacency graph `g` and return a tuple `(color, star_set)`, where
60
59
@@ -63,7 +62,7 @@ Compute a star coloring of all vertices in the adjacency graph `g` and return a
63
62
64
63
A _star coloring_ is a distance-1 coloring such that every path on 4 vertices uses at least 3 colors.
65
64
66
-
The vertices are colored in a greedy fashion, following the `order` supplied.
65
+
The vertices are colored in a greedy fashion, following the order supplied.
67
66
68
67
If `postprocessing=true`, some colors might be replaced with `0` (the "neutral" color) as long as they are not needed during decompression.
69
68
@@ -77,7 +76,7 @@ If `postprocessing=true`, some colors might be replaced with `0` (the "neutral"
77
76
> [_New Acyclic and Star Coloring Algorithms with Application to Computing Hessians_](https://epubs.siam.org/doi/abs/10.1137/050639879), Gebremedhin et al. (2007), Algorithm 4.1
Compute an acyclic coloring of all vertices in the adjacency graph `g` and return a tuple `(color, tree_set)`, where
212
210
@@ -215,7 +213,7 @@ Compute an acyclic coloring of all vertices in the adjacency graph `g` and retur
215
213
216
214
An _acyclic coloring_ is a distance-1 coloring with the further restriction that every cycle uses at least 3 colors.
217
215
218
-
The vertices are colored in a greedy fashion, following the `order` supplied.
216
+
The vertices are colored in a greedy fashion, following the order supplied.
219
217
220
218
If `postprocessing=true`, some colors might be replaced with `0` (the "neutral" color) as long as they are not needed during decompression.
221
219
@@ -229,7 +227,7 @@ If `postprocessing=true`, some colors might be replaced with `0` (the "neutral"
229
227
> [_New Acyclic and Star Coloring Algorithms with Application to Computing Hessians_](https://epubs.siam.org/doi/abs/10.1137/050639879), Gebremedhin et al. (2007), Algorithm 3.1
0 commit comments