-
Notifications
You must be signed in to change notification settings - Fork 1
/
devlog.txt
99 lines (87 loc) · 4.62 KB
/
devlog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Team SaranWraparna -- Sarah Yoon, Aparna Nair Kanneganti
APCS2 pd10
Final Project -- Development Log
================================================================================
Date: 2016-06-12
Contributor: SY/ANK
* fix node rendering so that colors are updated on the screen (by adding a node draw() method)
* fix all booleans so that text is printed on the screen at the correct time
* implement and debug backtracking algorithm
* implement and debug Welsh-Powell graph coloring algorithm, which uses a priority queue
* remove NodeStack.pde class; instead importing Stack class from java.util
* add button for Welsh-Powell so that user can choose which algorithm they'd like to use to color their graph
* enable keyPress() so that user can input the number of colors for the graph when prompted
* make stroke and fill uniform on the GUI
* update README
Unfortunately, there's no time to make undo/redo button, as we had originally hoped
================================================================================
================================================================================
Date: 2016-06-10
Contributor: SY/ANK
* debug Driver.pde and add/remove/fiddle with booleans like 'clickable'
* move buttons around on the GUI
================================================================================
================================================================================
Date: 2016-06-09
Contributor: SY
* change _colors array to literal 2D array of ordered triplets (10 colors)
* change Node's _color attribute to a 3-element array, change constructor and mutator
accordingly
* add sameColor(int[]) to Node.pde for easy comparison in isSafe(Node, int[])
* add methods isSafe(Node, int[]), mcolor(Node), and wrapper solve() to Driver
* Driver.pde still needs debugging; me._nodes.get(i) yields an
IndexOutOfBounds exception... ?
================================================================================
================================================================================
Date: 2016-06-07
Contributor: SY/ANK
* debug Driver.pde!! adding edge mechanism now works :)
* change emode button to switchmode
* GOAL: undo/redo...? (PERFECT because we have a stack!!)
================================================================================
================================================================================
Date: 2016-06-06
Contributor: SY
* when mode is EMODE and a node is clicked, ns.push(findNode()) gives a
NullPointerException
* wrote out plan for backtracking algorithm for solve() in planalgo.txt
================================================================================
================================================================================
Date: 2016-06-05
Contributor: ANK
* continue debugging Driver.pde
* resolve problem with rendering nodes upon mouseclick [move background(0) out of draw() to setup()]
* finish up with button for different modes (node and edge creation) and button to change value of graphComplete
* still need to check whether there are any issues with drawing edges between nodse
================================================================================
================================================================================
Date: 2016-06-03
Contributor: ANK
* begin debugging Driver.pde
================================================================================
================================================================================
Date: 2016-06-02
Contributor: ANK
* add methods to flesh out GUI nodes and edges in Driver.pde
* add NodeStack.pde, which contains a stack to facilitate user-driven edge-building
* need to debug null pointer exceptions, indubitably other things as well
================================================================================
================================================================================
Date: 2016-06-01
Contributor: SY
* create directory Driver with Driver.pde, Graph.pde, and Node.pde
* write inst vars and basic methods for Graph.pde and Node.pde
* still getting some weird error messages though...
================================================================================
================================================================================
Date: 2016-05-31
Contributor: SY/ANK
* create plan20160531
* outline required classes for graph data structure
================================================================================
================================================================================
Date: 2016-05-18
Contributor: SY
* init GitHub repo w/ README
* add devlog.txt
================================================================================