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

API redesign #20

Merged
merged 12 commits into from
Jul 24, 2023
Merged

API redesign #20

merged 12 commits into from
Jul 24, 2023

Conversation

tzaeschke
Copy link
Owner

Complete API overhaul:

  • Moved a lot of smaller classes & interfaces into Index which should be a lot cleaner and simplifies imports to a single import static org.tinspin.index.Index.*;.
  • ...Entry interfaces have been removed and replaced with a common implementation.
  • Renamed Rectangle to Box to make it shorter
  • Renamed (most) ...Index to ...Map and ...IndexMM to ...Multimap to make it clearer
  • Simplified return type of ...Index.iterator.
  • renamed all KNN to Knn to be more consistent
  • Renamed ...DistanceFunction to Distance which is shorter
  • Renamed ...EntryDist to EntryKnn to be more consistent and clearer
  • New query result interface types: PointIterator<T>, BoxIterator<T>, PointIteratorKnn<T> and BoxIteratorKnn<T> which are more concise.

@tzaeschke tzaeschke self-assigned this Jul 24, 2023
@tzaeschke tzaeschke merged commit fdd9ebd into master Jul 24, 2023
1 check passed
@tzaeschke tzaeschke deleted the fix/20-new-API branch July 24, 2023 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant