julien lengrand-lambert
|
7c2e8b5534
|
Finishes implementing delete
|
2013-12-08 19:58:55 +01:00 |
|
julien lengrand-lambert
|
94a9bd3626
|
The special case node = 0 is needed
|
2013-12-08 14:41:04 +01:00 |
|
julien lengrand-lambert
|
6b750028f9
|
Finished implementing a first version of delete_item
|
2013-12-08 14:39:30 +01:00 |
|
julien lengrand-lambert
|
c64ae01a36
|
Starts implementing the delete_item method, that deletes the nth element from the list
|
2013-12-08 14:32:05 +01:00 |
|
Julien Lengrand-Lambert
|
e8a03abf8d
|
implements the print method
|
2013-12-07 16:20:46 +01:00 |
|
Julien Lengrand-Lambert
|
757e3cbcd0
|
Implements has_next() method in list item
|
2013-12-07 15:27:50 +01:00 |
|
julien lengrand-lambert
|
26ed3fe4d8
|
Starts working on Linked List. Single linked lists implementation for now.
|
2013-12-07 11:47:24 +01:00 |
|
julien lengrand-lambert
|
d925aa9183
|
Coe seems to be ok now.
|
2013-12-07 10:00:52 +01:00 |
|
julien lengrand-lambert
|
1e88912eb8
|
Finishes implementing merge sort. Some more tests to be made before switching to something else
|
2013-12-07 09:57:27 +01:00 |
|
julien lengrand-lambert
|
ec1dafcaec
|
Creates first dummy test for empty table
|
2013-12-05 15:58:18 +01:00 |
|
julien lengrand-lambert
|
c6abd4b2a1
|
Starts working on the MergeSort algorithm
|
2013-12-05 15:53:17 +01:00 |
|
julien lengrand-lambert
|
00268eabc7
|
Beautifies the code a bit
|
2013-12-05 09:55:20 +01:00 |
|
julien lengrand-lambert
|
445e965f52
|
First get method version implemented. How to test?
|
2013-12-05 07:26:28 +01:00 |
|
julien lengrand-lambert
|
6c6be8663c
|
Starts implementing get method for neighbour based hashmap
|
2013-12-05 07:21:52 +01:00 |
|
julien lengrand-lambert
|
b7364b40da
|
Corrects the implementation of add. It is not possible any more to create use twice the same key.
|
2013-11-26 19:10:08 +01:00 |
|
julien lengrand-lambert
|
0267a97f33
|
Some different expectetions in the behaviour of the HashMap
|
2013-11-26 19:07:03 +01:00 |
|
julien lengrand-lambert
|
d63e082551
|
Just moves HMWithItem to a better location in the file
|
2013-11-26 19:00:29 +01:00 |
|
julien lengrand-lambert
|
b5d8de4faf
|
Finishes implementing the bare simple HM ersion using items. Now going to modify the version handling collisions
|
2013-11-26 18:59:33 +01:00 |
|
julien lengrand-lambert
|
7297cec59b
|
Adds hm implementation with items. Currently, this is just a copy paste from the bare simple hm implementation
|
2013-11-26 18:57:30 +01:00 |
|
julien lengrand-lambert
|
c51ba44a98
|
Adds _HashMapItem object that will be used to properly handle collisions.
Also adds documentation to the first HM implementation
|
2013-11-26 18:55:16 +01:00 |
|
Julien Lengrand-Lambert
|
ee382ac0a8
|
find_next_idx behaviour checked. Seems to work as expected
|
2013-11-24 17:01:12 +01:00 |
|
Julien Lengrand-Lambert
|
70d268983b
|
Adds in neighbour implementation implemented and running. Behaviour not tested yet.
|
2013-11-24 16:54:43 +01:00 |
|
Julien Lengrand-Lambert
|
96d3c8ca00
|
Starts implementing a neighbour implementation
|
2013-11-24 16:33:24 +01:00 |
|
Julien Lengrand-Lambert
|
423bf21fed
|
Also now implements get
|
2013-11-24 16:28:46 +01:00 |
|
Julien Lengrand-Lambert
|
2144671096
|
Tests add with collisions
|
2013-11-24 16:20:14 +01:00 |
|
Julien Lengrand-Lambert
|
f66c95d8da
|
Starts implementing add method of version with collisions.
|
2013-11-23 18:06:43 +01:00 |
|
Julien Lengrand-Lambert
|
1ec8b0672c
|
Modifies HashMap to correspond to the usual scheme
|
2013-11-21 20:22:49 +01:00 |
|
Julien Lengrand-Lambert
|
8f51ce1123
|
Actually, I have to provide two inputs to add instead, use one to create the key and store the other in the table. This is the classical implementation of HM
|
2013-11-21 20:18:55 +01:00 |
|
Julien Lengrand-Lambert
|
b1915d7192
|
Starts creating a dedicated object to store into hashmaps
|
2013-11-21 20:17:27 +01:00 |
|
Julien Lengrand-Lambert
|
af8014a79a
|
Implements a first get method. This doesnt take collisions into account yet. Also, we use strings to retrieve strings . . . Not really clever
|
2013-11-21 19:57:32 +01:00 |
|
Julien Lengrand-Lambert
|
7f8736c9ca
|
Starts implementing get method of the HashMap
|
2013-11-21 19:54:16 +01:00 |
|
Julien Lengrand-Lambert
|
77ad11ea74
|
Adds collision testing
|
2013-11-21 19:47:55 +01:00 |
|
Julien Lengrand-Lambert
|
20fe41493b
|
Starts implementing add method to fill the hash map
|
2013-11-21 11:58:50 +01:00 |
|
Julien Lengrand-Lambert
|
bcadb29f5f
|
Modifies hash method to stay within the range of the hash table
|
2013-11-21 11:50:11 +01:00 |
|
Julien Lengrand-Lambert
|
702f8999b3
|
Adds custom size of hash map table
|
2013-11-21 11:40:29 +01:00 |
|
Julien Lengrand-Lambert
|
cccda38920
|
Finishes implementing hash method
|
2013-11-21 11:08:35 +01:00 |
|
Julien Lengrand-Lambert
|
03ca739a08
|
Starts implementing the hash method. Throws an exception if the length of value is inconsistent
|
2013-11-21 10:36:12 +01:00 |
|
Julien Lengrand-Lambert
|
494f57d699
|
Creates corresponding test class and implements first size() method
|
2013-11-21 08:30:16 +01:00 |
|
jlengrand
|
ec4b556ba8
|
Starts implementing a Hash Table
|
2013-11-21 08:19:49 +01:00 |
|
|
|
eb2f371e05
|
Finishes testing the iterator implementation
|
2013-07-19 16:28:05 +02:00 |
|
|
|
bfcc796b3a
|
Rolls out first version of iterator for retrieving ordered values of binary search tree
|
2013-07-19 10:40:13 +02:00 |
|
|
|
25936d8413
|
implements print tree method
|
2013-07-15 16:31:07 +02:00 |
|
|
|
e731857f82
|
enhances print node to take care of more special cases
|
2013-07-12 21:21:20 +02:00 |
|
|
|
cf753f8ac4
|
Implement simple print method for single node element
|
2013-07-12 21:16:33 +02:00 |
|
|
|
6c14c68d93
|
prepares implementation of flat print method
|
2013-07-12 21:09:23 +02:00 |
|
|
|
ac878019fd
|
is_search_tree implemented
|
2013-07-11 23:24:37 +02:00 |
|
|
|
0d7bd76b2a
|
First is_search_tree attempt. Valid case seems to pass. Let s try the negation
|
2013-07-11 23:20:59 +02:00 |
|
|
|
81edb330eb
|
Adds is_search_node that checks whether a node is possibly part of a binary search tree
|
2013-07-09 19:48:16 +02:00 |
|
|
|
a511bb1687
|
Implement min, that find the lowest node value of a tree
|
2013-07-08 17:24:47 +02:00 |
|
|
|
1b7f6206f3
|
Implement max, that finx the highest node value of a tree
|
2013-07-08 17:20:38 +02:00 |
|