|
||||||||
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.KVariable
public class KVariable
KVariable calculates the optimum allocation of resources if the firm can no longer hire illegal immigrants, but capital and raw material costs are completely flexible.
Constructor Summary | |
---|---|
KVariable()
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 |
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 |
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, rhoOpt, rhoOptString, ROpt, setNewPL3, setVals, validate, validRange, X1, X1Opt, X1OptString, X2, X3, X4Opt, X4OptString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KVariable()
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.Double phi3()
GCalc
phi3
in class GCalc
protected java.lang.String phi3String()
GCalc
phi3String
in class GCalc
protected java.lang.Double KOpt()
GCalc
KOpt
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.String X3OptString()
GCalc
X3OptString
in class GCalc
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |