-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
When a node is removed, all the nodes in its neighbourhood are notified of this event and remove it from their neighbourhood.
With an asymmetric linkingRule policy a node (N) can have the node to remove (NR) in its neighbourhood, but N could not be in the neighbourhood of NR. So, N continues to believe that NR is its neighbour.
If this happens and N changes position, the neighbourhoods are updated, and also the NR neighbourhood is updated, but
it doesn't exist anymore and AbstractEnironment.getNeighborhood throw the IllegalArgumentException.