public class Market
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
exchangesShare |
double |
latitude |
double |
longitude |
java.util.ArrayList<MarketSession> |
marketSessionsList |
java.lang.String |
name |
double |
sizeInGuiDisplay |
Constructor and Description |
---|
Market(java.lang.String marketName,
double marketLatitude,
double marketLongitude,
double marketExchangesShare) |
Modifier and Type | Method and Description |
---|---|
void |
addMarketSessions(Producer producer,
java.lang.String varietyNames,
repast.simphony.context.Context<java.lang.Object> theContext,
java.util.ArrayList<java.lang.Double> possiblePrices) |
double |
getExchangesShare() |
double |
getLatitude() |
double |
getLongitude() |
java.util.ArrayList<MarketSession> |
getMarketSessions() |
java.lang.String |
getName() |
double |
getSizeInGuiDisplay() |
void |
performMarketSessions() |
public java.lang.String name
public double latitude
public double longitude
public double exchangesShare
public double sizeInGuiDisplay
public java.util.ArrayList<MarketSession> marketSessionsList
public Market(java.lang.String marketName, double marketLatitude, double marketLongitude, double marketExchangesShare)
public void addMarketSessions(Producer producer, java.lang.String varietyNames, repast.simphony.context.Context<java.lang.Object> theContext, java.util.ArrayList<java.lang.Double> possiblePrices)
public void performMarketSessions()
public java.lang.String getName()
public double getLatitude()
public double getLongitude()
public double getExchangesShare()
public double getSizeInGuiDisplay()
public java.util.ArrayList<MarketSession> getMarketSessions()