Skip to content

Commit

Permalink
Merge pull request #201 from waveygang/log-length-plane-sweep
Browse files Browse the repository at this point in the history
plane sweep using log block length times identity as score
  • Loading branch information
AndreaGuarracino committed Nov 3, 2023
2 parents 67ab187 + b73e337 commit bcfbc14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map/include/filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ namespace skch

Helper(MappingResultsVector_t &v) : vec(v) {}

double get_score(const int x) const {return vec[x].nucIdentity; }
double get_score(const int x) const {return vec[x].nucIdentity * log(vec[x].blockLength) ; }

//Greater than comparison by score and begin position
//used to define order in BST
Expand Down Expand Up @@ -254,7 +254,7 @@ namespace skch

Helper(MappingResultsVector_t &v) : vec(v) {}

double get_score(const int x) const {return vec[x].nucIdentity; }
double get_score(const int x) const {return vec[x].nucIdentity * log(vec[x].blockLength) ; }

//Greater than comparison by score and begin position
//used to define order in BST
Expand Down

0 comments on commit bcfbc14

Please sign in to comment.