SALPMPE
Class strategy

java.lang.Object
  extended by SALPMPE.strategy

public class strategy
extends java.lang.Object

Defines the representation of the strategy followed by firms in a given industry state.

Version:
2.0

Field Summary
(package private)  double entry
          Entry threshold
(package private)  double[] exit
          Exit threshold
(package private)  int[] policy
          Investment policy.
 
Constructor Summary
strategy()
          Creates new strategy object
 
Method Summary
 void setEntry(double inputEntry)
          Sets entry threshold.
 void setExit(double[] inputExit)
          Sets exit threshold.
 void setPolicy(int[] inputPolicy)
          Sets investment policy.
 void setStrategy(strategy inputStrategy)
          Sets investment policy, and entry and exit thresholds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

policy

int[] policy
Investment policy.


exit

double[] exit
Exit threshold


entry

double entry
Entry threshold

Constructor Detail

strategy

public strategy()
Creates new strategy object

Method Detail

setStrategy

public void setStrategy(strategy inputStrategy)
Sets investment policy, and entry and exit thresholds.

Parameters:
inputStrategy - Strategy thresholds.

setPolicy

public void setPolicy(int[] inputPolicy)
Sets investment policy.

Parameters:
inputPolicy - Policy per state.

setExit

public void setExit(double[] inputExit)
Sets exit threshold.

Parameters:
inputExit - Exit threshold.

setEntry

public void setEntry(double inputEntry)
Sets entry threshold.

Parameters:
inputEntry - Entry threshold.