edu.gmu.dparker3.sludge
Class Sludge
java.lang.Object
uchicago.src.sim.engine.SimModelImpl
edu.gmu.dparker3.sludge.Sludge
- All Implemented Interfaces:
- uchicago.src.reflector.DescriptorContainer, uchicago.src.sim.engine.SimEventProducer, uchicago.src.sim.engine.SimModel
- public class Sludge
- extends uchicago.src.sim.engine.SimModelImpl
main class
- Version:
- 1.0
- Author:
- Robert Najlis
| Fields inherited from class uchicago.src.sim.engine.SimModelImpl |
descriptors, modelManipulator |
| Methods inherited from class uchicago.src.sim.engine.SimModelImpl |
addPropertyListener, addSimEventListener, clearMediaProducers, clearPropertyListeners, fireBooleanPropertyEvent, fireEndSim, fireNumericPropertyEvent, fireObjectPropertyEvent, firePauseSim, fireSimEvent, fireStopSim, fireStringPropertyEvent, generateNewSeed, getController, getMediaProducers, getModelManipulator, getParameterDescriptors, getPropertiesValues, getRngSeed, getTickCount, getTickCountDouble, pause, registerDisplaySurface, registerMediaProducer, removePropertyListener, removeSimEventListener, setController, setRngSeed, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m
private Mediator m
landscape
private uchicago.src.sim.space.Object2DGrid landscape
width
private int width
height
private int height
landscapeDSurf
private uchicago.src.sim.gui.DisplaySurface landscapeDSurf
landscapeProfitabilityDSurf
private uchicago.src.sim.gui.DisplaySurface landscapeProfitabilityDSurf
textDSurf
private uchicago.src.sim.gui.DisplaySurface textDSurf
td
private uchicago.src.sim.gui.TextDisplay td
td2
private uchicago.src.sim.gui.TextDisplay td2
td3
private uchicago.src.sim.gui.TextDisplay td3
schedule
private uchicago.src.sim.engine.Schedule schedule
landCellList
private java.util.ArrayList landCellList
numTypes
private int numTypes
mktsPerType
private int mktsPerType
pauseTick
private int pauseTick
outDB
private OutputDatabase outDB
sdPlot
private uchicago.src.sim.analysis.Plot sdPlot
paramFile
private static boolean paramFile
Sludge
public Sludge()
main
public static void main(java.lang.String[] args)
step
public void step()
begin
public void begin()
setup
public void setup()
buildModel
private void buildModel()
buildDisplay
private void buildDisplay()
buildSchedule
private void buildSchedule()
finishUp
public void finishUp()
throws java.io.IOException
- Throws:
java.io.IOException
showGraphs
public void showGraphs()
constructFragstatsLandscape
public void constructFragstatsLandscape()
throws java.io.IOException
- Throws:
java.io.IOException
updateFragstatsDB
public void updateFragstatsDB()
getInitParam
public java.lang.String[] getInitParam()
getName
public java.lang.String getName()
getSchedule
public uchicago.src.sim.engine.Schedule getSchedule()
getBoard_Size
public int getBoard_Size()
setBoard_Size
public void setBoard_Size(int size)
getBoard_Width
public int getBoard_Width()
setBoard_Width
public void setBoard_Width(int width)
getBoard_Height
public int getBoard_Height()
setBoard_Height
public void setBoard_Height(int height)
getDemand_Parameter
public double getDemand_Parameter()
setDemand_Parameter
public void setDemand_Parameter(double dpar)
getMarket_0
public boolean getMarket_0()
setMarket_0
public void setMarket_0(boolean m)
getMarket_0_X
public int getMarket_0_X()
setMarket_0_X
public void setMarket_0_X(int x)
getMarket_0_Y
public int getMarket_0_Y()
setMarket_0_Y
public void setMarket_0_Y(int y)
getMarket_1
public boolean getMarket_1()
setMarket_1
public void setMarket_1(boolean m)
getMarket_1_X
public int getMarket_1_X()
setMarket_1_X
public void setMarket_1_X(int x)
getMarket_1_Y
public int getMarket_1_Y()
setMarket_1_Y
public void setMarket_1_Y(int y)
getProductivity_0
public double getProductivity_0()
setProductivity_0
public void setProductivity_0(double p)
getProductivity_1
public double getProductivity_1()
setProductivity_1
public void setProductivity_1(double p)
getTransport_Cost_0
public double getTransport_Cost_0()
setTransport_Cost_0
public void setTransport_Cost_0(double t)
getTransport_Cost_1
public double getTransport_Cost_1()
setTransport_Cost_1
public void setTransport_Cost_1(double t)
getOutput_Price_0
public double getOutput_Price_0()
setOutput_Price_0
public void setOutput_Price_0(double o)
getZERO_With_0
public double getZERO_With_0()
setZERO_With_0
public void setZERO_With_0(double sb)
getZERO_With_1
public double getZERO_With_1()
setZERO_With_1
public void setZERO_With_1(double ob)
getONE_With_1
public double getONE_With_1()
setONE_With_1
public void setONE_With_1(double sb)
getONE_With_0
public double getONE_With_0()
setONE_With_0
public void setONE_With_0(double ob)
setRandom_Board
public void setRandom_Board(boolean r)
getRandom_Board
public boolean getRandom_Board()
setStep_Num
public void setStep_Num(int stepNum)
getStep_Num
public int getStep_Num()
setCurrent_Step
public void setCurrent_Step(int step)
getCurrent_Step
public int getCurrent_Step()