source: src/main/java/agents/anac/y2014/E2Agent/myUtility/SummaryStatistics.java@ 345

Last change on this file since 345 was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 1.1 KB
Line 
1package agents.anac.y2014.E2Agent.myUtility;
2
3import java.util.ArrayList;
4import java.util.Collection;
5import java.util.Collections;
6import java.util.Comparator;
7import java.util.HashMap;
8import java.util.List;
9import java.util.Random;
10
11import agents.anac.y2011.TheNegotiator.BidsCollection;
12import agents.anac.y2012.MetaAgent.agents.WinnerAgent.opponentOffers;
13import genius.core.Agent;
14import genius.core.Bid;
15import genius.core.actions.Accept;
16import genius.core.actions.Action;
17import genius.core.actions.Offer;
18import genius.core.issue.Issue;
19import genius.core.issue.IssueInteger;
20import genius.core.issue.Value;
21import genius.core.issue.ValueInteger;
22import genius.core.timeline.Timeline;
23import genius.core.utility.*;
24
25
26
27
28
29public 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}
Note: See TracBrowser for help on using the repository browser.