|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrand.asset_forfeiture.GCalc
rand.asset_forfeiture.Benchmark
public class Benchmark
This Benchmark case simply hires one replacement legal worker for each illegal worker no longer available. These legal workers are paid the replacement wage, but all other costs stay the same. This should always be the WORST CASE.
Constructor Summary | |
---|---|
Benchmark()
The only constructor simply calls super() |
Method Summary | |
---|---|
java.lang.String |
getName()
The name of this particular ProfitCalculator. |
protected java.lang.Double |
KOpt()
Accessor for optimal K \returns the optimized value of K |
protected java.lang.String |
KOptString()
User-readable formula for optimal K \returns a string with the formula used to optimize K |
java.lang.Boolean |
needsVar(variables v)
Determines whether this implementation of ProfitCalculator requires a particular variable for its calculations. |
protected java.lang.Double |
phi3()
Accessor for optimal phi3 \returns the optimized value of phi3 |
protected java.lang.String |
phi3String()
User-readable formula for optimal phi3 \returns a string with the formula used to optimize phi3 |
protected java.lang.Double |
rhoOpt()
Accessor for optimal rho \returns the optimal value of rho |
protected java.lang.String |
rhoOptString()
User-readable formula for rho \returns a string containing the formula used to optimize rho |
protected java.lang.Double |
X1Opt()
Accessor for optimal X1 \returns the optimal value of X1, unless that optimum is less than 1, in which case it returns 1 (real labor = X1 - 1) |
protected java.lang.String |
X1OptString()
User-readable formula for optimal X1 \returns a string containing the formula used to optimize X1 |
protected java.lang.Double |
X3Opt()
Accessor for optimal X3 \returns the optimized value of X3, unless X3 < 1, in which case it returns one, since real labor = X3-1 |
protected java.lang.String |
X3OptString()
User-readable formula for optimal X3 \returns a string with the formula used to optimize X3 |
protected java.lang.Double |
X4Opt()
Accessor for X4 \returns the optimal value of X4, unless that optimum is less than 1, in which case it returns 1 (real labor = X1 - 1) |
Methods inherited from class rand.asset_forfeiture.GCalc |
---|
alpha, alphaString, beta, betaString, calculateBase, calculateExcursion, delta, deltaString, epsilon, gamma, gammaString, getOptimal, getTitle, K, KString, omega, omegaString, pi, piOpt, piOptString, PL1, PL2, PL3, PL4, Pq, PqString, print, print, Q, QOpt, QOptString, QString, R, rho, ROpt, setNewPL3, setVals, validate, validRange, X1, X2, X3, X4OptString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Benchmark()
Method Detail |
---|
public java.lang.String getName()
ProfitCalculator
getName
in interface ProfitCalculator
getName
in class GCalc
public java.lang.Boolean needsVar(variables v)
ProfitCalculator
needsVar
in interface ProfitCalculator
needsVar
in class GCalc
protected java.lang.String X3OptString()
GCalc
X3OptString
in class GCalc
protected java.lang.String KOptString()
GCalc
KOptString
in class GCalc
protected java.lang.Double X3Opt()
GCalc
X3Opt
in class GCalc
protected java.lang.Double X4Opt()
GCalc
X4Opt
in class GCalc
protected java.lang.Double KOpt()
GCalc
KOpt
in class GCalc
protected java.lang.Double X1Opt()
GCalc
X1Opt
in class GCalc
protected java.lang.String X1OptString()
GCalc
X1OptString
in class GCalc
protected java.lang.Double rhoOpt()
GCalc
rhoOpt
in class GCalc
protected java.lang.String rhoOptString()
GCalc
rhoOptString
in class GCalc
protected java.lang.Double phi3()
GCalc
phi3
in class GCalc
protected java.lang.String phi3String()
GCalc
phi3String
in class GCalc
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |