|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.engine.SimModelImpl
uchicago.src.sim.engine.SimpleModel
uchicago.src.repastdemos.neural.NeuralModel
uchicago.src.repastdemos.neuralfromfile.NeuralModelFromFile
public class NeuralModelFromFile
This demo model is the same as the NeuralModel except that
it allows for the neural network the Employees use to be loaded
from a file.
| Field Summary |
|---|
| Fields inherited from class uchicago.src.repastdemos.neural.NeuralModel |
|---|
office, officeHeight, officeWidth |
| Fields inherited from class uchicago.src.sim.engine.SimpleModel |
|---|
agentList, autoStep, isGui, name, params, schedule, seed, shuffle, startAt |
| Fields inherited from class uchicago.src.sim.engine.SimModelImpl |
|---|
descriptors, modelManipulator |
| Constructor Summary | |
|---|---|
NeuralModelFromFile()
|
|
| Method Summary | |
|---|---|
void |
begin()
Begins a simulation run. |
java.lang.String[] |
getInitParam()
Gets the names of the initial model parameters to set. |
java.lang.String |
getNeuralNetFileName()
|
static void |
main(java.lang.String[] args)
|
void |
setNeuralNetFileName(java.lang.String neuralNetFileName)
|
void |
setup()
Sets up the model for the next run, clears out all the old employees and the old displays |
| Methods inherited from class uchicago.src.repastdemos.neural.NeuralModel |
|---|
buildDisplay, buildGraphs, getEmployeeCount, getName, getOfficeHeight, getOfficeWidth, postStep, preStep, setEmployeeCount, setOfficeHeight, setOfficeWidth, step |
| Methods inherited from class uchicago.src.sim.engine.SimpleModel |
|---|
atEnd, atPause, buildModel, buildSchedule, getNextDoubleFromTo, getNextIntFromTo, getSchedule, run, runAutoStep, setRngSeed, setStoppingTime, setStoppingTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NeuralModelFromFile()
| Method Detail |
|---|
public java.lang.String[] getInitParam()
SimModel
getInitParam in interface SimModelgetInitParam in class NeuralModelpublic void begin()
SimModel
begin in interface SimModelbegin in class NeuralModelpublic void setup()
NeuralModel
setup in interface SimModelsetup in class NeuralModelpublic java.lang.String getNeuralNetFileName()
public void setNeuralNetFileName(java.lang.String neuralNetFileName)
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||