Skip to content

Commit

Permalink
Fix minor error
Browse files Browse the repository at this point in the history
  • Loading branch information
7h30n3 committed Apr 12, 2024
1 parent db310dd commit 54366aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/models/map_features/map_features.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class MapFeatures extends ListBase<MapFeatureDefinition> {

/// Calculate a simple score for a condition in order to prioritize one map feature over another.
/// The score is based on the number of matching tags.
// TODO: Score calculation not flawless: counts all parent/child sub conditions
// TODO: Score calculation not flawless: counts all parent/child subconditions
// Possible solutions:
// - drop score calculation and add priority value to MapFeature (flexible, with potential performance improvement if all MapFeatures would be sorted by priority)
// - drop score calculation and prioritize MapFeatures based on list order/rank (inflexible, but improves average performance as not all MapFeatures always have to be evaluated)
Expand Down

0 comments on commit 54366aa

Please sign in to comment.