Menu

Code Commit Log


Commit Date  
[r276] by mrieser

added JavaDoc to loadConfig()

2007-12-26 11:16:53 Tree
[r275] by mrieser

Simplified the code in split() a little bit after the code coverage analysis showed than one if-condition always yielded true (and that could be theoretically be proved as well).

2007-12-26 11:16:24 Tree
[r274] by mrieser

changed some methods in inner classes from public or private to "default" modifier, so access is more restricted from outside but not from inside the class.
moved call to decrementSize() out of an inner class to the main class, similar to the call to increaseSize().

2007-12-25 18:38:08 Tree
[r273] by mrieser

added QuadTreeTest to the test suite.

2007-12-25 13:35:50 Tree
[r272] by mrieser

test cases for QuadTree

2007-12-25 11:40:46 Tree
[r271] by mrieser

several bugfixes to QuadTree:
- member 'size' is no longer declared as transient, because otherwise a de-serialized QuadTree would always have size=0, even if it had objects in the tree.
- member 'values', returned by method values(), is invalidated when objects are added or removed from the QuadTree. before, it could happen that values() did no longer return a true representation of the objets in the QuadTree.
- When calling get(double x, double y, double maxDistance), objects exactly "maxDistance" away from "(x, y)" are now returned as well (according to the javadoc). Before, only objecs with a distance smaller than maxDistance were returned.
Memory improvement:
- QuadTree.Leaf.values (an ArrayList) is now initialized with a capacity of 1, instead of the default capacity of 10. As we rarely have more than one object at one location, most of the entries were empty before, now the list has by default onle one place (which is used in that case).

2007-12-25 11:34:26 Tree
[r270] by laemmel

traveltimecalculator with variable count of time slices to prevent memory waste ... may be this implemntation is a little bit slower then the array based impl ...

2007-12-24 11:07:00 Tree
[r269] by mrieser

fixed javadocs and indentation

2007-12-22 23:02:29 Tree
[r268] by mrieser

src/log4j.xml will be copied to classes/ as well during compilation.

2007-12-22 22:46:40 Tree
[r267] by grether

log4j configured by log4j.xml, the default filename had to be changed in Controller's constant attribute.

2007-12-21 13:47:42 Tree
Older >