Skip to content

Use PIMPL for SimpleSVM #6378

Closed
Closed

Description

@jpfeuffer

The libSVM data structures are clearly an implementation detail. None of them are present in the API functions.
I think we could/should create a SimpleSVM implementation class and only store a pointer in the class that is exposed via our headers.

This would make libSVM a private link and end-users/devs do not need the (in this case rather easy-to-ship) svm.h.
Still, it would be cleaner I think.

Activity

  1. added
    minor
    beginner tasks
    on Oct 10, 2022
  2. added
    GSoC/OpenMS Fellowship
    on Feb 28, 2025
  3. added 2 commits that reference this issue on Mar 8, 2025
    d12741e
    4f5d524
  4. GoutamIITP commented on Mar 10, 2025

    @GoutamIITP

    Hi @jpfeuffer,

    I came across this issue and found it interesting. I'd love to contribute to implementing the Pimpl idiom for SimpleSVM and removing direct libSVM dependencies. Could you provide any additional details or guidance on how I can get started?

    Looking forward to contributing!

    Best,
    Goutam Kumar Sah

  5. added a commit that references this issue on Mar 10, 2025
    9492629
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GSoC/OpenMS FellowshipHacktoberfestbeginner tasksminor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions