Class SupplyAndDemandSystem

java.lang.Object
velo.ladaalpha.fields.economy.supplyANDdemand.SupplyAndDemandSystem

public class SupplyAndDemandSystem extends Object
The Class SupplyAndDemandSystem.
  • Constructor Details

    • SupplyAndDemandSystem

      public SupplyAndDemandSystem(LinearFunction supply, LinearFunction demand)
      Instantiates a new supply and demand system.
      Parameters:
      supply - the supply
      demand - the demand
  • Method Details

    • getEquilibrium

      public double[] getEquilibrium()
      Gets the equilibrium.
      Returns:
      the equilibrium
    • getEquilibriumVerbose

      public String getEquilibriumVerbose()
      Gets the equilibrium verbose.
      Returns:
      the equilibrium verbose