APG: tweaking constraint matching a little bit
authorSoren Harward <stharward@gmail.com>
Fri, 23 Apr 2010 14:29:35 +0000 (10:29 -0400)
committerSoren Harward <stharward@gmail.com>
Fri, 23 Apr 2010 14:29:35 +0000 (10:29 -0400)
commit45fe22066fb2ffc6972538665af378979b5dda93
tree49344fded2c25ae4313ca8daf05a417fdc956cba
parent2f151e47c7daecb77a3551c85358ad28c07c75e7
APG: tweaking constraint matching a little bit

This should help the generator behave a little more as expected when the
match is "greater than" or "less than" a numerical value.  For example,
setting the constraint "match rating greater than 3" doesn't return
nearly as many tracks with a rating equal to 3.
src/playlistgenerator/Constraint.h
src/playlistgenerator/ConstraintNode.h
src/playlistgenerator/Preset.cpp
src/playlistgenerator/constraints/TagMatch.cpp
src/playlistgenerator/constraints/TagMatch.h