Uses of Class
com.tagtraum.beatunes.matchtable.ScoreRule
-
Packages that use ScoreRule Package Description com.tagtraum.beatunes.matchtable Everything that has to do with matching. -
-
Uses of ScoreRule in com.tagtraum.beatunes.matchtable
Subclasses of ScoreRule in com.tagtraum.beatunes.matchtable Modifier and Type Class Description class
AlbumRule
AlbumRule.class
AmazonSimilarityRule
Deprecated.class
ArtistRule
ArtistRule.class
BPMRule
BPMRule.class
ColorRule
ColorRule.class
DanceabilityRule
DanceabilityRule.class
GenreRule
Matches songs with similar genres.class
GroupingRule
GroupingRule.class
InstrumentationRule
InstrumentationRule.class
KeyRule
KeyRule.class
LanguageRule
LanguageRule.class
MoodRule
MoodRule.class
MPMRule
MPMRule.class
PopularityRule
PopularityRule.class
RatingRule
RatingRule.class
SimilarArtistRule
Similar artist rule.class
TagsRule
TagsRule.class
TempoTimbreColorRule
Color rule.class
TimeRule
TimeRule.class
TimeSignatureRule
TimeSignatureRule.class
TuningRule
TuningRule.class
YearRule
YearRule.Methods in com.tagtraum.beatunes.matchtable that return ScoreRule Modifier and Type Method Description ScoreRule
MatchRuleSet. addScoreRule(String id)
Creates a new instance of the rule with the given id and adds it to this set.ScoreRule
MatchRuleSet. getScoreRule(String id)
Get a rule for its id.Methods in com.tagtraum.beatunes.matchtable that return types with arguments of type ScoreRule Modifier and Type Method Description List<ScoreRule>
MatchRuleSet. getQuickMatchScoreRules()
The sorted list of score rules contained in this set, minus rules that shouldn't be used for quick matching.List<ScoreRule>
MatchRuleSet. getScoreRules()
The sorted list of score rules contained in this set.List<ScoreRule>
MatchRuleSet. getScoreRulesInInsertionOrder()
List<ScoreRule>
MatchRuleSet. getUnusedScoreRules()
Methods in com.tagtraum.beatunes.matchtable with parameters of type ScoreRule Modifier and Type Method Description int
AmazonSimilarityRule. compareTo(ScoreRule that)
Deprecated.Always make this rule very light (-5f), when comparing, so that we get rid of it first inRuleBasedPrefilter.getPreFilteredSongs(AudioSong, PlayList, Float, boolean, Collection, Collection)
(low weight rules are removed in SQL queries first).int
ScoreRule. compareTo(ScoreRule that)
void
MatchRuleSet. removeScoreRule(ScoreRule scoreRule)
Removes a score rule should it exist.Method parameters in com.tagtraum.beatunes.matchtable with type arguments of type ScoreRule Modifier and Type Method Description List<AudioSong>
SimilarityMatcher. findMatchingSongs(Iterable<AudioSong> sourceSongs, Float syncBPM, boolean playMatchesAtSyncTempo, Collection<ScoreRule> scoreRules, AudioSong... templates)
Finds songs insourceSongs
that best match thetemplates
according to the provided rules.Iterable<AudioSong>
RuleBasedPrefilter. getPreFilteredSongs(AudioSong template, PlayList playList, Float syncBPM, boolean playMatchesAtSyncTempo, Collection<ScoreRule> scoreRules, Collection<SongFilter> mandatoryFilters)
Returns songs from the database that roughly match the template song.List<AudioSong>
SimilarityMatcher. sort(AudioSong seed, Iterable<AudioSong> sourceList, Float syncBPM, boolean playMatchesAtSyncTempo, Collection<ScoreRule> ruleSet)
Sorts songs in chunks of x songs and then concatenates the chunks in a sorted manner.
-