public class FollowTheSunParameters
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| java.util.Set<Location> | excludedLocationsa list of excluded locations | 
| double | triggerAbsoluteMajorityas corresponding majority and total fields, with x_A-x_B on the LHS of inequality | 
| double | triggerAbsoluteTotalfields as above,
 this parameter T defines a number such that x_A > T in order for X to be migrated to A | 
| double | triggerDeltaAbovePercentMajorityas corresponding majority and total fields, with x_A-x_B on the LHS of inequality | 
| double | triggerDeltaAbovePercentTotalfields as above, and T as above,
 this parameter T' defines a number such that x_A > T*x + T' in order for X to be migrated to A | 
| double | triggerPercentMajorityfields as above, with X_B the number from a different geography B,
 where A and B are the two most prolific requesters of X, and X_A >= X_B;
 this parameter T defines a number such that x_A-x_B > T*x in order for X to be migrated to A | 
| double | triggerPercentTotaltrigger for moving segment X from geo A to geo B:
 where x is total number of requests submitted in X across the CDM network,
 and x_A is number of reqs from geo A, with A the most prolific geography
 (arbitrarily chosen in case of ties so recommended to choose at least a small percent_majority or delta_above_percent_majority, in addition to this field);
 this parameter T defines a number such that x_A > T*x in order for X to be migrated to A
 (but see also DELTA_ABOVE_PERCENT_TOTAL, below) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isTriggered(double highest,
           double total,
           double nextHighest,
           double current) | 
| static FollowTheSunParameters | newDefault() | 
| java.lang.String | toString() | 
public double triggerPercentTotal
public double triggerDeltaAbovePercentTotal
public double triggerAbsoluteTotal
public double triggerPercentMajority
public double triggerDeltaAbovePercentMajority
public double triggerAbsoluteMajority
public java.util.Set<Location> excludedLocations
public static FollowTheSunParameters newDefault()
public boolean isTriggered(double highest,
                  double total,
                  double nextHighest,
                  double current)
public java.lang.String toString()
toString in class java.lang.Object