diff --git a/collection.cpp b/collection.cpp index 81cb8a1..dad9d2c 100644 --- a/collection.cpp +++ b/collection.cpp @@ -614,7 +614,7 @@ void collection::initSeeding(map &tdList) { if (deltaR < 0) { It->second.seed = tdListIt->second.rating; int dayCount = boost::gregorian::date_period(tdListIt->second.lastRatingDate, tournamentDate).length().days(); - It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.0005 * 0.0005 * dayCount * dayCount); + It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.001 * 0.001 * dayCount * dayCount); } // Is this a self promotion by more than three stones? // If so, treat as a reseeding. Players must win at least one game @@ -632,7 +632,7 @@ void collection::initSeeding(map &tdList) { else { It->second.seed = tdListIt->second.rating; int dayCount = boost::gregorian::date_period(tdListIt->second.lastRatingDate, tournamentDate).length().days(); - It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.0005 * 0.0005 * dayCount * dayCount); + It->second.sigma = sqrt(tdListIt->second.sigma * tdListIt->second.sigma + 0.001 * 0.001 * dayCount * dayCount); } } // cout << "Seed: " << It->second.id << '\t' << It->second.seed << '\t' << It->second.sigma << endl;