package agents.anac.y2015.xianfa; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import agents.anac.y2015.xianfa.XianFaAgent; import genius.core.issue.Value; import genius.core.parties.AbstractNegotiationParty; public class Statistician { private XianFaAgent myAgent; private String record = "record"; public Statistician(AbstractNegotiationParty myAgent) { this.myAgent = (XianFaAgent) myAgent; } public void log() { write(analyse()); } public String analyse() { String c = ""; String n = System.getProperty("line.separator"); ArrayList issues = myAgent.issuesA; ArrayList issuesB = myAgent.issuesB; for (int i=0; i