0.5.11
KDTree Bugfix
Fixed a bug where having 0 agents in either the left or right subtrees of a KDTree
would sometimes lead to an infinite loop when calling KDTree.rebalance
. Also updated Environment.addAgent
and .removeAgent
to take an optional 2nd parameter to decide whether to rebalance the KDTree
(defaults to true
).