1 | package agents.anac.y2014.E2Agent.myUtility;
|
---|
2 |
|
---|
3 | import java.util.ArrayList;
|
---|
4 | import java.util.Collection;
|
---|
5 | import java.util.Collections;
|
---|
6 | import java.util.Comparator;
|
---|
7 | import java.util.HashMap;
|
---|
8 | import java.util.List;
|
---|
9 | import java.util.Random;
|
---|
10 |
|
---|
11 | import agents.anac.y2011.TheNegotiator.BidsCollection;
|
---|
12 | import agents.anac.y2012.MetaAgent.agents.WinnerAgent.opponentOffers;
|
---|
13 | import genius.core.Agent;
|
---|
14 | import genius.core.Bid;
|
---|
15 | import genius.core.actions.Accept;
|
---|
16 | import genius.core.actions.Action;
|
---|
17 | import genius.core.actions.Offer;
|
---|
18 | import genius.core.issue.Issue;
|
---|
19 | import genius.core.issue.IssueInteger;
|
---|
20 | import genius.core.issue.Value;
|
---|
21 | import genius.core.issue.ValueInteger;
|
---|
22 | import genius.core.timeline.Timeline;
|
---|
23 | import genius.core.utility.*;
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
27 |
|
---|
28 |
|
---|
29 | public class SummaryStatistics {
|
---|
30 | private double average = 0;
|
---|
31 | private double variance = 0;
|
---|
32 |
|
---|
33 | public SummaryStatistics(double ave, double var) {
|
---|
34 | average = ave;
|
---|
35 | variance = var;
|
---|
36 | }
|
---|
37 |
|
---|
38 | public double getAve() { return average; }
|
---|
39 | public double getVar() { return variance; }
|
---|
40 | public String toString() { return "Ave: " + average + " Var: " + variance; }
|
---|
41 | }
|
---|