|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.washington.cs.supple.render.utility.FactorStatistics
| Field Summary | |
protected java.util.Hashtable |
stats
|
| Constructor Summary | |
FactorStatistics()
|
|
| Method Summary | |
java.lang.String |
getMaxDifferenceFactorName(FactorStatistics stats2)
Compares this factor statistics with another one and returns the factor name that has the biggest difference between the two |
java.lang.String |
getMaxFactorName(FactorStatistics stats2)
Compares this factor statistics with another one and returns the factor name that has the biggest statistics between the two |
float |
getStatistics(java.lang.String factorName)
Allows you to retrieve statistics for a factor |
java.lang.String |
prettyPrint()
Returns a nicely formatted string summarizing factor statistics |
void |
putStatistics(java.lang.String factorName,
float contribution)
allows you to store statistics for a factor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Hashtable stats
| Constructor Detail |
public FactorStatistics()
| Method Detail |
public void putStatistics(java.lang.String factorName,
float contribution)
factorName - name of a factorcontribution - statistics for that factorpublic float getStatistics(java.lang.String factorName)
factorName - name of a factor
public java.lang.String getMaxDifferenceFactorName(FactorStatistics stats2)
stats2 - the other statistics
public java.lang.String getMaxFactorName(FactorStatistics stats2)
stats2 - the other statistics
public java.lang.String prettyPrint()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||