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

getSampleSize issue #987 #1344

Conversation

stefanbuettner
Copy link
Contributor

Hey,

this is a suggestion to implement the issue #987 of declaring the getSampleSize as pure virtual.

Cheers,
Stefan

* Chose pure virtual bacause new models have to implement this method
  since SAC_SAMPLE_SIZE is const.
* Implementations in the subclasses behave like the original
  implementation except for the exception message in case the model
  type is not found.
* Changed verbosity level of selected samples from debug to verbose
! Fixed not initialized pointer in SampleConsensusModelCircle3d
@taketwo
Copy link
Member

taketwo commented Sep 24, 2015

Actually, there was a related discussion (#1075) about optimizing getting sample size performance and getting rid of the global map. Unfortunately, I hadn't have time to implement that approach, but it still seems preferential for me.
Don't want to commit to anything, but I'll try to have another look and implement it on the weekend.

@taketwo taketwo mentioned this pull request Oct 11, 2015
7 tasks
@jspricke
Copy link
Member

@stefanbuettner would you be willing to redo this accoring to #1367? I think it would be clearer if we move the constants into the individual classes.

@stefanbuettner stefanbuettner deleted the issue#987-getSampleSize branch October 17, 2015 19:16
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.

3 participants