uk.ac.leeds.ccg.andyt.projects.genesis.process
Class Abstract_GENESIS_Model
java.lang.Object
uk.ac.leeds.ccg.andyt.projects.genesis.process.Abstract_GENESIS_Model
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Abstract_GENESIS_DemographicModel, AbstractTrafficModel, Compare_GENESIS_DemographicModel
public abstract class Abstract_GENESIS_Model
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_GENESIS_Environment
protected GENESIS_Environment _GENESIS_Environment
_GENESIS_AgentCollectionManager
protected transient GENESIS_AgentCollectionManager _GENESIS_AgentCollectionManager
_Input_Parameter_File
protected java.io.File _Input_Parameter_File
_RandomSeed
protected java.lang.Long _RandomSeed
_InitialRandomSeed
protected java.lang.Long _InitialRandomSeed
_NextRandomSeed
protected java.lang.Long _NextRandomSeed
_RandomSeedIncrement
protected java.lang.Long _RandomSeedIncrement
_RandomArray
protected java.util.Random[] _RandomArray
_Directory
public java.io.File _Directory
_ResultDataDirectory_File
public java.io.File _ResultDataDirectory_File
_HandleOutOfMemoryError
public boolean _HandleOutOfMemoryError
_ImageExporter
public uk.ac.leeds.ccg.andyt.grids.exchange.ImageExporter _ImageExporter
executorService
protected transient java.util.concurrent.ExecutorService executorService
Abstract_GENESIS_Model
public Abstract_GENESIS_Model()
getExecutorService
protected java.util.concurrent.ExecutorService getExecutorService()
get_NextRandomSeed
public long get_NextRandomSeed()
init_RandomArrayMinLength
public void init_RandomArrayMinLength(int length,
long initialSeed,
long seedIncrement)
get_RandomArrayMinLength
protected java.util.Random[] get_RandomArrayMinLength(int length)
get_RandomArray
public java.util.Random[] get_RandomArray()
get_RandomArray
public java.util.Random[] get_RandomArray(int i)
get_Random
public java.util.Random get_Random(int i)
get_NextRandom
public java.util.Random get_NextRandom()
init_Environment
public void init_Environment(GENESIS_Environment a_GENESIS_Environment)
getFileThatExists
public java.io.File getFileThatExists(java.io.File directory,
java.lang.String filename,
java.lang.String method)
- Parameters:
directory
- filename
- method
- A String representing the method from which this was called.
- Returns:
- The File given by directory and filename if it exists or exits
the program with an appropriate message identifying the calling method.
log
protected static void log(java.util.logging.Level level,
java.lang.String message)
getLogger
public static java.util.logging.Logger getLogger()