edu.bonn.xulu.plugin.model.sleuth
Class UrbanGrowthModelSelfModification

java.lang.Object
  extended by AbstractNamedObject
      extended by edu.bonn.xulu.model.AbstractXuluModel
          extended by edu.bonn.xulu.model.AbstractStepModel
              extended by edu.bonn.xulu.plugin.model.sleuth.UrbanGrowthModel
                  extended by edu.bonn.xulu.plugin.model.sleuth.UrbanGrowthModelSelfModification
All Implemented Interfaces:
StepModel, XuluModel

public class UrbanGrowthModelSelfModification
extends UrbanGrowthModel

Urban Growth Model with Self Modification
This model is based on the Urban Growth Model, developed by Keith Clarke at the UC Santa Barbara, CA, within the Gigalopolis Project, funded by the USGS. It has exactly the same growth rules as its parent class, with Self Modification of several coefficients enabled. For a detailed description refer to Urban Growth Model
In addition to the UGM Coefficients, these parameters are needed:

Version:
1.0
Author:
Roland Goetzke
See Also:
UrbanGrowthModelSelfModificationContentManager, UrbanGrowthModel

Field Summary
protected  double boom
           
protected  double bust
           
protected  double criticalHigh
           
protected  double criticalLow
           
protected  double roadGravSens
           
protected  double slopeSens
           
 
Fields inherited from class edu.bonn.xulu.plugin.model.sleuth.UrbanGrowthModel
areaHeight, areaMaxX, areaMaxY, areaMinX, areaMinY, areaRestr, areaWidth, breed, criticalSlope, disp, disp_value, inputGrid, max_RG_value, max_search_index, NEIGHBOR, outputGrid, outStep, RA_areaRestr, RA_breed, RA_criticalSlope, RA_disp, RA_inputGrid, RA_roadGravity, RA_roadGrid, RA_slope, RA_slopeGrid, RA_spread, RA_steps, rg_value, roadGravity, roadGrid, slope, slopeGrid, slopeLUT, spread, steps, WA_outputGrid, WA_outStep
 
Fields inherited from class edu.bonn.xulu.model.AbstractStepModel
stepCount
 
Fields inherited from class edu.bonn.xulu.model.AbstractXuluModel
contManager, disposed, events, initialised, listeners, modelResourceProvider, running, statusOut, stopped
 
Constructor Summary
UrbanGrowthModelSelfModification()
          Second Constructor.
UrbanGrowthModelSelfModification(UrbanGrowthModelSelfModificationContentManager contManager)
          First Constructor
 
Method Summary
 void performModelDispose()
          like in every model: frees the resources
 void performModelInit()
          Initializes the model.
 void performModelStep(int stepNo)
          The main method of the Urban Growth Model.
 
Methods inherited from class edu.bonn.xulu.plugin.model.sleuth.UrbanGrowthModel
BreedGrowth, calculateNeighbors, countSetIndividuals, countTempUrbanCells, DispersionGrowth, EdgeGrowth, getSlopeExp, getSlopeLookup, getSlopeMax, getSlopeValue, RoadGrowth, roadWalk, writeToGrid
 
Methods inherited from class edu.bonn.xulu.model.AbstractStepModel
fireModelStepFinished, fireModelStepStarted, getStepCount, performModelStart
 
Methods inherited from class edu.bonn.xulu.model.AbstractXuluModel
addModelListener, checkBreakingCommands, determineCaption, disposeModel, fireModelDisposed, fireModelEvent, fireModelInitialised, fireModelStarted, fireModelStopped, getContentManager, getEvents, getModelSpecificGUI, getResourceProvider, getStatusOut, initModel, isDisposed, isInitialised, isRunning, isStopped, performError, releaseAccess, removeModelListener, resetCaptions, setStatusOut, startModelling, stopModelling
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.bonn.xulu.model.XuluModel
addModelListener, disposeModel, getContentManager, getEvents, getModelSpecificGUI, getResourceProvider, getStatusOut, initModel, isDisposed, isInitialised, isRunning, isStopped, performError, removeModelListener, setStatusOut, startModelling, stopModelling
 

Field Detail

roadGravSens

protected double roadGravSens

slopeSens

protected double slopeSens

criticalLow

protected double criticalLow

criticalHigh

protected double criticalHigh

boom

protected double boom

bust

protected double bust
Constructor Detail

UrbanGrowthModelSelfModification

public UrbanGrowthModelSelfModification(UrbanGrowthModelSelfModificationContentManager contManager)
First Constructor

Parameters:
contManager -

UrbanGrowthModelSelfModification

public UrbanGrowthModelSelfModification()
Second Constructor. The Content Manager is the parent content manager as well as the child content manager

Method Detail

performModelInit

public void performModelInit()
Initializes the model. Like in the init method of every XuluModel the resources are initalized.

Overrides:
performModelInit in class UrbanGrowthModel

performModelDispose

public void performModelDispose()
like in every model: frees the resources

Overrides:
performModelDispose in class UrbanGrowthModel

performModelStep

public void performModelStep(int stepNo)
The main method of the Urban Growth Model. For a detailed description refer to the performModelStep in UrbanGrowthModel. The difference to the plain UGM Calibration model is the Self Modification of several coefficients at the end of each modelling step.

Specified by:
performModelStep in interface StepModel
Overrides:
performModelStep in class UrbanGrowthModel
Parameters:
stepNo - Nummer des Modellschritts (beginnend bei 1)