Skip to content

Asymmetric LinkingRules #793

Description

@aPlacuzzi

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions