Class NWFirm
java.lang.Object
|
+--Firm
|
+--NWFirm
- public class NWFirm
- extends Firm
NWFirm.java
Murat Yildizoglu - Universite Bordeaux IV Montesquieu
Bordeaux FRANCE
e-mail: yildi[a_t]u-bordeaux4.fr
Copyright (c) Murat Yildizoglu, 1998-2001
Permission to use, copy, modify, and distribute this
software and its documentation for NON-COMMERCIAL purposes
and without fee is hereby granted provided that this
copyright notice appears in all copies.
An evolutionnary firm close to Nelson and Winter (1982) with fixed
R&D investment rule.
- Version:
- 2.2 June 2000
- Author:
- Murat Yildizoglu
- See Also:
Firm
|
Constructor Summary |
NWFirm(double kk,
double pprd,
double cc,
double dd,
double ss,
double ddelta,
double rrd,
double rr,
double rrd_min)
Initializes and computes the firm's caracteristics
given the caracteristics of the industry to which
it belongs. |
|
Method Summary |
void |
clean()
|
int |
getChrDecode(int cc)
For Compatibility with GenFirm |
double |
getChrFitness(int cc)
|
double |
getDFittness()
Returns the variation of the fittness |
double |
getProfit()
Returns the gross profit of the firm:
Profit = profit_rate x Kapital |
void |
learn(int date)
Abstract methods for compatibility with XCSFirm. |
void |
setenv(java.lang.String S)
For compatibility with XCSFirm |
void |
setrd(int t)
setrd function is here for compatibility with GenFirm |
java.lang.String |
showFirm()
Formats the data of the firm for screen output. |
| Methods inherited from class Firm |
computeprofit, getdprim, getdprin, getinvestRD, getKapital, getprod, getProfitRate, getrd, imitate, innovate, investK, investRD, isactive, saveprofit, supply |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NWFirm
public NWFirm(double kk,
double pprd,
double cc,
double dd,
double ss,
double ddelta,
double rrd,
double rr,
double rrd_min)
- Initializes and computes the firm's caracteristics
given the caracteristics of the industry to which
it belongs.
- Parameters:
kk - Initial capital of the firmpprd - Initial productivity of the firmcc - Unit using cost of capitaldd - Calibration parameterss - Standard deviation of Innovative drawsddelta - Depreciation rate of capitalrrd - Fixed RD/CF ratio of the firmrr - Interest rate in the economyrrd_min - Minimal RD invetsment rate
setrd
public void setrd(int t)
- setrd function is here for compatibility with GenFirm
- Overrides:
setrd in class Firm
getProfit
public double getProfit()
- Returns the gross profit of the firm:
Profit = profit_rate x Kapital
- Overrides:
getProfit in class Firm
getDFittness
public double getDFittness()
- Returns the variation of the fittness
- Overrides:
getDFittness in class Firm
- Following copied from class:
Firm
- See Also:
GenFirm
getChrDecode
public int getChrDecode(int cc)
- For Compatibility with GenFirm
- Overrides:
getChrDecode in class Firm
- Parameters:
cc - - See Also:
GenFirm
getChrFitness
public double getChrFitness(int cc)
- Overrides:
getChrFitness in class Firm
clean
public void clean()
- Overrides:
clean in class Firm
showFirm
public java.lang.String showFirm()
- Formats the data of the firm for screen output. Used by LeantInd.
- Overrides:
showFirm in class Firm
setenv
public void setenv(java.lang.String S)
- For compatibility with XCSFirm
- Overrides:
setenv in class Firm
- See Also:
XCSFirm
learn
public void learn(int date)
- Description copied from class:
Firm
- Abstract methods for compatibility with XCSFirm.
- Overrides:
learn in class Firm
- Following copied from class:
Firm
- See Also:
XCSFirm