SALPMPE
Class Profit

java.lang.Object
  extended by SALPMPE.Profit

public class Profit
extends java.lang.Object

Defines the single period profit function.

Version:
2.0

Field Summary
(package private)  Profit10 prof10
          Profit function associated to capacity competition model
(package private)  Profit99 prof99
          Profit function associated to quality ladder competition model
 
Constructor Summary
Profit()
          Defines a new instance of the profit function.
 
Method Summary
 double[] mshare(int[] s)
          Computes industry equilibrium market shares for the single-period game.
 double[] profit(int[] s)
          Computes industry equilibrium profits for the single-period game.
 double[] surplus(int[] s)
          Computes industry equilibrium consumer surplus for the single-period game.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prof99

Profit99 prof99
Profit function associated to quality ladder competition model


prof10

Profit10 prof10
Profit function associated to capacity competition model

Constructor Detail

Profit

public Profit()
Defines a new instance of the profit function.

Method Detail

profit

public double[] profit(int[] s)
Computes industry equilibrium profits for the single-period game.

Parameters:
s - Industry state.
Returns:
Profit vector.

mshare

public double[] mshare(int[] s)
Computes industry equilibrium market shares for the single-period game.

Parameters:
s - Industry state.
Returns:
Market share vector.

surplus

public double[] surplus(int[] s)
Computes industry equilibrium consumer surplus for the single-period game.

Parameters:
s - Industry state.
Returns:
Consumer surplus vector.