|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSALPMPE.state
public class state
Defines the representation of the industry state and associated operations.
| Field Summary | |
|---|---|
(package private) double |
frequency
State frequency relative to the sampled set |
(package private) int[] |
index
Industry state |
(package private) double[] |
profit
Profit vector associated to the state |
(package private) strategy |
Strat
Strategy for each firm outside industry |
| Constructor Summary | |
|---|---|
state(int[] inputindex)
Defines a new instance of an industry state. |
|
| Method Summary | |
|---|---|
void |
increaseFrequency()
Increases the frequency of the state by one. |
boolean |
isEqual(int[] s)
Checks if the industry state is equal to a given industry state. |
void |
setFrequency(double newfreq)
Increases the frequency of the state. |
void |
setProfit(double[] inputprofit)
Assigns profit vector to an industry state. |
void |
setStrategy(int[] investment,
double[] exit,
double entry)
|
void |
setStrategy(strategy inputStrategy)
Assigns strategy to the industry state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
double frequency
double[] profit
strategy Strat
int[] index
| Constructor Detail |
|---|
public state(int[] inputindex)
inputindex - Industry state.| Method Detail |
|---|
public void setProfit(double[] inputprofit)
inputprofit - Profit vector.public void increaseFrequency()
public void setFrequency(double newfreq)
newfreq - Frequency increment.public void setStrategy(strategy inputStrategy)
inputpolicy - Strategy vector.
public void setStrategy(int[] investment,
double[] exit,
double entry)
public boolean isEqual(int[] s)
s - benchmark industry state.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||