public class MarketSession
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Buyer |
aBuyer |
java.util.ArrayList<java.lang.Double> |
bidAndAskPrices |
java.util.ArrayList<ElementOfSupplyOrDemandCurve> |
buyerDemandCurve |
repast.simphony.util.collections.IndexedIterable<java.lang.Object> |
buyersList |
double |
exchangesShare |
double |
latitude |
double |
longitude |
java.lang.String |
market |
double |
marketPrice |
repast.simphony.context.Context<java.lang.Object> |
msContext |
double |
quantityExchanged |
java.util.ArrayList<ElementOfSupplyOrDemandCurve> |
sessionDemandCurve |
java.util.ArrayList<ElementOfSupplyOrDemandCurve> |
sessionSupplyCurve |
double |
sizeInGuiDisplay |
Producer |
theProducer |
java.lang.String |
variety |
Constructor and Description |
---|
MarketSession(java.lang.String thisSessionMarket,
Producer producer,
java.lang.String varietyName,
repast.simphony.context.Context<java.lang.Object> theContext,
java.util.ArrayList<java.lang.Double> possiblePrices) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMarketName() |
double |
getMarketPrice() |
Producer |
getProducer() |
java.lang.String |
getProducerName() |
double |
getQuantityExchanged() |
java.lang.String |
getSessionDescription() |
void |
openSession() |
public java.lang.String variety
public java.lang.String market
public double latitude
public double longitude
public double exchangesShare
public double sizeInGuiDisplay
public repast.simphony.context.Context<java.lang.Object> msContext
public Producer theProducer
public Buyer aBuyer
public repast.simphony.util.collections.IndexedIterable<java.lang.Object> buyersList
public java.util.ArrayList<java.lang.Double> bidAndAskPrices
public java.util.ArrayList<ElementOfSupplyOrDemandCurve> sessionSupplyCurve
public java.util.ArrayList<ElementOfSupplyOrDemandCurve> buyerDemandCurve
public java.util.ArrayList<ElementOfSupplyOrDemandCurve> sessionDemandCurve
public double marketPrice
public double quantityExchanged
public MarketSession(java.lang.String thisSessionMarket, Producer producer, java.lang.String varietyName, repast.simphony.context.Context<java.lang.Object> theContext, java.util.ArrayList<java.lang.Double> possiblePrices)
public void openSession()
public Producer getProducer()
public java.lang.String getMarketName()
public java.lang.String getProducerName()
public double getMarketPrice()
public double getQuantityExchanged()
public java.lang.String getSessionDescription()