edu.cuny.cat.stat
Class Score

java.lang.Object
  extended by edu.cuny.cat.stat.Score

public class Score
extends java.lang.Object

a record of the score of a specialist.

Version:
$Revision: 1.8 $
Author:
Jinzhong Niu

Field Summary
 double marketShare
          market share score.
static int MARKETSHARE_INDEX
          index of market share score in P_SCORES.
static java.lang.String[] P_SCORES
           
 double profitShare
          profit share score.
static int PROFITSHARE_INDEX
          index of profit share score in P_SCORES.
 double total
          total score.
static int TOTAL_INDEX
          index of total score in P_SCORES.
 double transactionRate
          transaction success rate score.
static int TRANSACTIONRATE_INDEX
          index of transaction success rate score in P_SCORES.
 
Constructor Summary
Score()
           
 
Method Summary
 double[] getScores()
           
 void reset()
           
 java.lang.String toString()
           
 void updateTotal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

P_SCORES

public static final java.lang.String[] P_SCORES

TOTAL_INDEX

public static final int TOTAL_INDEX
index of total score in P_SCORES.

See Also:
Constant Field Values

MARKETSHARE_INDEX

public static final int MARKETSHARE_INDEX
index of market share score in P_SCORES.

See Also:
Constant Field Values

PROFITSHARE_INDEX

public static final int PROFITSHARE_INDEX
index of profit share score in P_SCORES.

See Also:
Constant Field Values

TRANSACTIONRATE_INDEX

public static final int TRANSACTIONRATE_INDEX
index of transaction success rate score in P_SCORES.

See Also:
Constant Field Values

total

public double total
total score.


marketShare

public double marketShare
market share score.


profitShare

public double profitShare
profit share score.


transactionRate

public double transactionRate
transaction success rate score.

Constructor Detail

Score

public Score()
Method Detail

reset

public void reset()

updateTotal

public void updateTotal()

getScores

public double[] getScores()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object