We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 519d1a2 commit b304fb2Copy full SHA for b304fb2
src/algorithms/controllers/convexHullColours.js
@@ -0,0 +1,19 @@
1
+import {colors as globalColors} from '../../components/DataStructures/colors';
2
+
3
+// Colors for array (..._A), graph nodes (..._N), graph edges (..._E)
4
+// for convex hull algorithms gwrap only for now, no array
5
+// See also graphSearchColours.js
6
+export const colorsCH = {
7
+ // HULL_A: globalColors.leaf,
8
+ HULLP_N: 1, // Green
9
+ HULL_E: 1,
10
+ // FRONTIER_A: '0', // Blue
11
+ // FRONTIER_A: globalColors.sky,
12
+ NEXTQ_N: 4, // Blue
13
+ CLOCKWISE_E: 4, // Blue
14
+ ANTICLOCK_E: 3, // anticlockwise edges, Red
15
+ // PQ_MIN_A: globalColors.peach,
16
+ // if we find a path to end node:
17
+ // SUCCESS_A: globalColors.leaf,
18
+ // SUCCESS_E: 3,
19
+ }
0 commit comments