Skip to content

Refactor metric-spaces module #1421

Open
@malarbol

Description

@malarbol

Recent contributions in the metric-spaces modules raise concerns about the names of some concepts in the metric-spaces module.

TODO

  • The divide metric space/metric structure seems a bit over the top. I suggest we factor these to be contained in the same files (and same for premetrics and pseudometrics and any other such divides in this namespace).

  • The concept of indistinguishability should be factored to separate files, called similarty-of-elements-metric-spaces and so on. This is consistent with other notions of similarity in the library.

  • The definition of indistinguishability in premetric spaces is not the correct one, it only applies to (reflexive?) symmetric premetric spaces. I propose we forget the non pseudo- case and only first define similarity for pseudometric spaces.

  • Find a good name for metric spaces where all elements are at bounded distance

    • total
    • indiscrete

Related PRs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions