|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.ecosim.management.Statistics
public class Statistics
This class is responsible for gathering statistics and (if necessary) use this information to create new statistics.
Constructor Summary | |
---|---|
protected |
Statistics(Market m)
The Constructor. |
Method Summary | |
---|---|
protected double |
getARPU(int provider)
Gets the ARPU (Average Revenue Per User). |
protected double |
getAverageConsumerExpense()
Gets the average consumer expense in the market |
protected double |
getChurnRate(int provider)
Gets the customer churn rate of a service provider. |
protected double |
getHighestThisRound(int place)
Gets the highest value of this round. |
protected int |
getInnovationsForProvider(int prov)
Gets the number of innovations produced by a specified provider |
protected java.lang.String |
getInnovationStats()
Method to get the statistics on produced innovations |
protected int |
getNofChanges()
Gets the total number of changes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Statistics(Market m)
Method Detail |
---|
protected double getARPU(int provider)
provider
- the providers place in the markets service provider list
protected double getAverageConsumerExpense()
protected double getChurnRate(int provider)
provider
- the provider
protected double getHighestThisRound(int place)
place
- the place in the markets service provider list where the provider is located
protected int getInnovationsForProvider(int prov)
prov
- the providers place in the market list
protected int getNofChanges()
protected java.lang.String getInnovationStats()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |