Skip to content
Michaela Farova edited this page Jul 23, 2015 · 2 revisions

The decision settings are used on every step of the algorithm to determine how the algorithm should act. The settings are set up such that they are modifiable between runtimes and thus can be dynamically changed whenever is needed.

Currently the settings that can be setup are:

  • CountWeight: The weight of each instance of the song
  • VoteWeight: The weight of each vote for a particular song
  • SongGenreWeight: The weight allocated to a Genre when voting for a song
  • SongArtistWeight: The weight allocated to a Artist when voting for a song
  • TierMultipliers: Multiplier set based on the given Tier
  • NumSongsGenerated: The number of final songs to generate

The default settings are:

DecisionSettings settings;

settings.m_countWeight = 1.0;

settings.m_voteWeight = DecisionSettings::VoteWeight_Equal;

settings.m_songGenreWeight = DecisionSettings::VoteWeight_Equal;
settings.m_artistGenreWeight = DecisionSettings::VoteWeight_Equal;

settings.m_tierMultipliers[Tier_SAG] = 1.0f;
settings.m_tierMultipliers[Tier_SA] = 0.9f;
settings.m_tierMultipliers[Tier_SG] = 0.8f;
settings.m_tierMultipliers[Tier_AG] = 0.7f;
settings.m_tierMultipliers[Tier_S] = 0.6f;
settings.m_tierMultipliers[Tier_A] = 0.5f;
settings.m_tierMultipliers[Tier_G] = 0.4f;

settings.m_numSongsGenerated = 3;

Clone this wiki locally