se.sics.tasim.is.common
Class CompetitionParticipant
java.lang.Object
se.sics.tasim.is.common.CompetitionParticipant
public class CompetitionParticipant
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompetitionParticipant
public CompetitionParticipant(int id,
java.lang.String name)
CompetitionParticipant
public CompetitionParticipant(CompetitionParticipant user)
getAvgWeightedComparator
public static java.util.Comparator getAvgWeightedComparator()
getAvgComparator
public static java.util.Comparator getAvgComparator()
getMinAvgZeroComparator
public static java.util.Comparator getMinAvgZeroComparator()
getMinAvgZeroWeightedComparator
public static java.util.Comparator getMinAvgZeroWeightedComparator()
getID
public int getID()
hasParent
public boolean hasParent()
getParent
public int getParent()
getName
public java.lang.String getName()
getFlags
public int getFlags()
setFlags
public void setFlags(int flags)
getTotalScore
public double getTotalScore()
getAvgScore
public double getAvgScore()
getAvgScoreWithoutZeroGames
public double getAvgScoreWithoutZeroGames()
getTotalWeightedScore
public double getTotalWeightedScore()
getAvgWeightedScore
public double getAvgWeightedScore()
getAvgWeightedScoreWithoutZeroGames
public double getAvgWeightedScoreWithoutZeroGames()
getGamesPlayed
public int getGamesPlayed()
getZeroGamesPlayed
public int getZeroGamesPlayed()
getWeightedGamesPlayed
public double getWeightedGamesPlayed()
getZeroWeightedGamesPlayed
public double getZeroWeightedGamesPlayed()
getAvgScore1
public double getAvgScore1()
getAvgScore2
public double getAvgScore2()
getAvgScore3
public double getAvgScore3()
getAvgScore4
public double getAvgScore4()
addScore
public void addScore(CompetitionParticipant user)
addScore
public void addScore(int simulationID,
double score,
double weight,
boolean isZeroGame)
removeScore
public void removeScore(int simulationID,
double score,
double weight,
boolean isZeroGame)
indexOf
public static int indexOf(CompetitionParticipant[] participants,
int start,
int end,
int userID)
Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.