Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unconnected boundary nodes #3818

Closed
TheMarex opened this issue Mar 13, 2017 · 1 comment
Closed

Remove unconnected boundary nodes #3818

TheMarex opened this issue Mar 13, 2017 · 1 comment
Labels

Comments

@TheMarex
Copy link
Member

Below an algorithm to remove all unconnected boundary nodes for every cell, once we have a CellID assignment over every level:

  • Starting with the highest level l: For every partition array (NodeID -> CellID translation) on the edge-based-graph:
    • For every node in the graph:
      • Check all target nodes:
        • If target is in a different cell, save target as witness that node is a boundary node.
        • If target is from the same cell: Check if it is a forward/backward edge. If forward, node is a source node, if backward then node is a target node.
      • If we detect a node on level l that is a boundary node, but not marked as source or target:
        • assign node to the same cells as the witness on all levels <= l

/cc @oxidase

@TheMarex
Copy link
Member Author

Landed with #3826

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant