se.sics.tasim.is.common
Class CompetitionParticipant

java.lang.Object
  extended by se.sics.tasim.is.common.CompetitionParticipant

public class CompetitionParticipant
extends java.lang.Object


Constructor Summary
CompetitionParticipant(CompetitionParticipant user)
           
CompetitionParticipant(int id, java.lang.String name)
           
 
Method Summary
 void addScore(CompetitionParticipant user)
           
 void addScore(int simulationID, double score, double weight, boolean isZeroGame)
           
static java.util.Comparator getAvgComparator()
           
 double getAvgScore()
           
 double getAvgScore1()
           
 double getAvgScore2()
           
 double getAvgScore3()
           
 double getAvgScore4()
           
 double getAvgScoreWithoutZeroGames()
           
static java.util.Comparator getAvgWeightedComparator()
           
 double getAvgWeightedScore()
           
 double getAvgWeightedScoreWithoutZeroGames()
           
 int getFlags()
           
 int getGamesPlayed()
           
 int getID()
           
static java.util.Comparator getMinAvgZeroComparator()
           
static java.util.Comparator getMinAvgZeroWeightedComparator()
           
 java.lang.String getName()
           
 int getParent()
           
 double getTotalScore()
           
 double getTotalWeightedScore()
           
 double getWeightedGamesPlayed()
           
 int getZeroGamesPlayed()
           
 double getZeroWeightedGamesPlayed()
           
 boolean hasParent()
           
static int indexOf(CompetitionParticipant[] participants, int start, int end, int userID)
           
 void removeScore(int simulationID, double score, double weight, boolean isZeroGame)
           
 void setFlags(int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompetitionParticipant

public CompetitionParticipant(int id,
                              java.lang.String name)

CompetitionParticipant

public CompetitionParticipant(CompetitionParticipant user)
Method Detail

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.