Archived
0

Increase search speed, add minimum vendor rating parameter for skip low profitable vendors

This commit is contained in:
iMoHax
2016-10-14 15:57:14 +03:00
parent 77c12f6194
commit 374e1d6c62
9 changed files with 197 additions and 105 deletions

View File

@@ -36,7 +36,7 @@ public class ScorerTest extends Assert {
profile.setBalance(1000000);
Scorer scorer = new Scorer(fWorld, profile);
double avgProfit = scorer.getAvgProfit() * profile.getShip().getCargo();
double avgProfit = 750 * profile.getShip().getCargo();
double score = scorer.getScore(scorer.getAvgDistance(), 0, 1, 1, 0, 4);
double score1 = scorer.getScore(scorer.getAvgDistance(), avgProfit/2, 1, 1, 0, 4);