Skip to content

Commit

Permalink
Brawl output (simulation mode): added avg points per win
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuchka committed Dec 19, 2016
1 parent a466e1b commit dd061a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tyrant_optimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,12 @@ void print_results(const EvaluatedResults& results, std::vector<long double>& fa
#ifndef NQUEST
case OptimizationMode::quest:
#endif
std::cout << "score: " << final.points << " (";
std::cout << "score: " << final.points;
if (optimization_mode == OptimizationMode::brawl)
{
std::cout << " [" << ((final.points - 5.0 * (1.0 - final.wins)) / final.wins) << " per win]";
}
std::cout << " (";
for(const auto & val: results.first)
{
std::cout << val.points << " ";
Expand Down

0 comments on commit dd061a8

Please sign in to comment.