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

Advanced scoring #4

Merged
merged 6 commits into from Sep 22, 2016
Merged

Advanced scoring #4

merged 6 commits into from Sep 22, 2016

Conversation

aneveux
Copy link
Contributor

@aneveux aneveux commented Sep 13, 2016

Hello!

I unplugged the implementation based on a score (Int) for ponderation, to something a bit more evolved now bringing for each part of the pattern if it is found, and at which distance.

For now, a score calculation is still made (kind of a basic one, mimicking the previous one), but in the future, we'll be able to implement more advanced rules such as minimizing the distance between letters, or minimizing close errors (like 2 errors in a row are worse than 2 errors separated by some letters), etc.

I'll let you have look and tell me if there's something you would modify ;)

Antoine Neveux a183276 added 2 commits September 13, 2016 13:58
…complex structure allowing to implement rules for selecting the files.

Some println are there for debug / understanding - will be removed later on.
Copy link
Contributor

@jmdesprez jmdesprez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 thanks

@aneveux aneveux merged commit 891e594 into master Sep 22, 2016
@aneveux aneveux deleted the advanced-scoring branch September 23, 2016 16:25
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

3 participants