|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--Firm
Abstract Class Firm.java
Murat Yildizoglu - Universite Bordeaux IV Montesquieu
Bordeaux FRANCE
e-mail: yildi[a_t]u-bordeaux4.fr
Copyright 2001 (c) Murat Yildizoglu
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.
| Field Summary | |
java.lang.String |
type
This variable is used by each type of firm for declaring its type |
| Constructor Summary | |
Firm(double kk0,
double pprd0,
double cc0,
double dd0,
double ssigma0,
double ddelta0,
double rrd0,
double rr0,
double rrd_min0)
The constructor. |
|
| Method Summary | |
abstract void |
clean()
|
void |
computeprofit(double Prix)
Computes the gross profit rate on capital and the cumulates the gross profits of the firm |
abstract int |
getChrDecode(int cc)
|
abstract double |
getChrFitness(int cc)
|
abstract double |
getDFittness()
Abstract methods for compatibility with GenFirm. |
double |
getdprim()
Returns the Productivity increase throuh imitation of the firm |
double |
getdprin()
Returns the Productivity increase throuh innovation of the firm |
double |
getinvestRD()
Provides the amount of the R&D investment of the firm |
double |
getKapital()
Returns the capital stock |
double |
getprod()
Returns the productivity rate of the firm |
abstract double |
getProfit()
|
double |
getProfitRate()
Returns the gross profit rate of the firm |
double |
getrd()
Returns the R&D ratio of the firm |
void |
imitate(double maxprod)
Modifies the productivity of the firm as a consequence of an imitation |
void |
innovate()
Modifies the productivity of the firm as a consequence of an innovation |
void |
investK()
Computes the capital-investment following a very simple rule: The share of the profit that has not been invested in R&D is invested in physical capitaL |
void |
investRD()
Computes the R&D-investment under the financial constraint given by the profit |
boolean |
isactive()
Verifies if the firm is active. |
abstract void |
learn(int date)
Abstract methods for compatibility with XCSFirm. |
void |
saveprofit()
Saves the profit rate of the firm in temp_profit |
abstract void |
setenv(java.lang.String S)
|
abstract void |
setrd(int t)
Each firm must override these common abstract methods. |
abstract java.lang.String |
showFirm()
|
double |
supply()
Returns the productivity_rate x Kapital |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String type
| Constructor Detail |
public Firm(double kk0,
double pprd0,
double cc0,
double dd0,
double ssigma0,
double ddelta0,
double rrd0,
double rr0,
double rrd_min0)
kk0 - Initial capital stock of the firmpprd0 - Initial productivity of the firmcc0 - Unit using cost of capitaldd0 - Calibration parameterssigma0 - Standard deviation of random innovative drawsddelta0 - Depreciation rate of capitalrrd0 - RD/CF ratiorr0 - Interest rate in the economyrrd_min0 - Minimal RD investment rate| Method Detail |
public void computeprofit(double Prix)
Prix - : Price in the industrypublic double getinvestRD()
public void investK()
public void investRD()
public void imitate(double maxprod)
maxprod - Maximal productivity of the industrypublic void innovate()
public double getprod()
public double getKapital()
public double supply()
public boolean isactive()
public double getrd()
public double getdprin()
public double getdprim()
public double getProfitRate()
public void saveprofit()
public abstract void setrd(int t)
public abstract double getProfit()
public abstract void clean()
public abstract java.lang.String showFirm()
public abstract double getDFittness()
GenFirmpublic abstract int getChrDecode(int cc)
public abstract double getChrFitness(int cc)
public abstract void learn(int date)
XCSFirmpublic abstract void setenv(java.lang.String S)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||