Skip to content

[algorithm] Refactor algorithm #38

Closed
6 of 6 issues completed
Closed

Description

@th-skam

Initial rework/clean-up

After #36, it is time to clean the algorithm a bit. Some issues:

  • Inconsistent descriptions, non-transparent naming choices.
  • Unnecessary copies - use refs when possible.
  • Avoid raw ptrs if possible.
  • Sanity/safety checks in init and doDetection are missing.

Addressed in #47 to #53.

Use of Operation classes in InsertionAlgorithm

  • Use operations for geometric checks to include proximities instead of explicit dynamic casts at the top-level algorithm
  • Use operations to decide based on geometric criteria whether the needle is retracting or not

Sub-issues

Sub-issues

6 of 6 Issues completed
Loading 6 sub-issues

Metadata

Metadata

Assignees

Labels

issue: enhancementissue: epic

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions