276 Commits

Author SHA1 Message Date
ecb1b1cbe7 Adding Map ADT interface and abstract class, and first pass inefficient implementation. 2017-06-25 02:56:45 -07:00
b0747e4ea5 adding readme for hash map classes. 2017-06-25 02:56:16 -07:00
b11e1b8585 Adding Map interface and abstract class - Map ADT 2017-06-25 01:28:43 -07:00
ee2c58dcad it works. built in priority queue timing is consistent and sensible. 2017-06-24 21:28:40 -07:00
2a133e6c00 some whining. no more custom priority queue class. 2017-06-24 18:32:09 -07:00
98cd5b8184 adding example using priority queue with custom object comparator 2017-06-24 18:24:32 -07:00
7904e96e21 adding changes to all priority queues to make timing possible. 2017-06-24 12:37:28 -07:00
158186a5b9 no kle. 2017-06-24 01:39:39 -07:00
21ef39a0e1 add KLE ("keys less than or equal to") program draft. 2017-06-24 00:26:05 -07:00
69c8e3dab6 add recursive upheap/downheap, plus documentation clarification. 2017-06-24 00:18:04 -07:00
3d101e1181 adding test to heap priority queue class. 2017-06-24 00:05:22 -07:00
27155cf1d6 Adding the basic Heap Priority Queue class, no main method so no test but all the basic methods in place and compiling. 2017-06-24 00:00:29 -07:00
3292a2429c updating use PQ as stack exercise 2017-06-23 03:35:04 -07:00
1a565e5970 Using the PriorityQueue concrete implementation to implement a Stack ADT 2017-06-23 02:57:46 -07:00
f40d9b2f1e Adding iterator() to tests. 2017-06-23 01:12:37 -07:00
c7e5122c0c remove exceptions from unsorted PQ. makefile rearrangement. 2017-06-23 01:01:44 -07:00
8f9cf15a87 move exceptions to the ADT. 2017-06-23 01:01:04 -07:00
7c5ddcd686 Make priority queue interface iterable. 2017-06-23 01:00:26 -07:00
54148e0be6 make Sorted PQ iterable. 2017-06-23 01:00:02 -07:00
be7c9e98aa Overwriting problematic old priority queue objects. 2017-06-22 22:01:19 -07:00
320ce3795c hold off on iterable for a bit. 2017-06-22 21:45:38 -07:00
8b2d860875 abstract priority queue class - update to internal class name, add string methods. 2017-06-22 21:45:08 -07:00
6064a2166d update priority queue interface documentation. no abstract keyword. 2017-06-22 13:55:56 -07:00
cc93788e6f Abstract class now references Item class w/o defining. 2017-06-22 13:55:21 -07:00
83f5081ca2 No idea if this exceptions approach is going to work. 2017-06-22 13:16:12 -07:00
4bfa748d18 Adding abstract priority queue ADT and priority queue interface. 2017-06-22 13:15:12 -07:00
91729c40c6 New track for priority queues. Default comparator, and comparator example. 2017-06-22 13:14:59 -07:00
446dfcca82 apparently, unsorted priority queue is just horrendous? I find this difficult to believe. 2017-06-21 19:50:01 -07:00
ade18accab Removing unsorted priority queue. Too many questions. Too many hassles. 2017-06-21 19:25:19 -07:00
4bdf2648f5 fixing up print statements and output. 2017-06-21 19:25:01 -07:00
c0aee2beb5 makefile changes to accompany fixes to sorted priority queue. 2017-06-20 17:16:28 -07:00
bc98df693c sorted priority queue issues worked out, add/remove working on arrays up to 10M elements. 2017-06-20 17:16:08 -07:00
d67b140428 unanswered questions in Timing class. 2017-06-20 01:25:21 -07:00
3f60465773 have some very strange behavior going on with the priority queues. 2017-06-20 00:25:09 -07:00
7ac7b38d9e update output from priority queue timing test. 2017-06-19 19:49:59 -07:00
96d086982d Fixing bugs in priority queue timing tests, and making tests more robust. 2017-06-19 19:49:39 -07:00
4972814777 adjust order in makefile. 2017-06-19 19:48:51 -07:00
6e24b452eb fix comments in sorted priority queue class. 2017-06-19 19:48:32 -07:00
7d1fcff544 Unsorted priority queue class now works. 2017-06-19 19:47:55 -07:00
55eee3d2a4 Add priority queue timing class, Tim, makefile, output, etc. 2017-06-19 01:08:59 -07:00
64469f4641 Adding removeMin and peekMin abstract methods back into priorityqueue base class. 2017-06-18 23:51:26 -07:00
f20a94817b adding more improved sorted priority queue tests - small, big, and empty. 2017-06-18 23:50:20 -07:00
6022ddca6d Expanding sorted priority queue tests. Now passing. 2017-06-18 23:17:23 -07:00
f039e74d83 add clean rule to priority queue makefile. 2017-06-18 22:13:14 -07:00
5efaa18072 Adding a sorted priority queue that uses a linked list. 2017-06-18 22:12:26 -07:00
c252eb3162 update counter 2017-06-18 13:56:36 -07:00
082468f28e Adding a strings-characters-digits folder. 2017-06-18 13:52:38 -07:00
c9a365ac93 Moving trees to oop-correct-tree 2017-06-18 11:54:56 -07:00
6b9fd87b20 adding expression tree test. 2017-06-18 09:58:56 -07:00
24564ae071 need to fix remove method. use parent pointer, not this pointer. 2017-06-17 00:10:17 -07:00