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

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.UrbanGrowthModel_MC
All Implemented Interfaces:
StepModel, XuluModel

public class UrbanGrowthModel_MC
extends UrbanGrowthModel

Urban Growth Model with Monte-Carlo Iterations
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, but runs with n Monte-Carlo Iterations. So the resulting map does not contain the urban extent after a model run, but the probability for new urbanization. The more often a cell has been selected for urbanization during the Monte-Carlo Iterations, the higher is that value in the output map. For a detailed description refer to Urban Growth Model
In addition to the UGM parameters, this parameter is needed:

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

Field Summary
protected  int MonteCarlo
           
protected  PropertyReadAccess RA_MonteCarlo
           
protected  int years
           
 
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
UrbanGrowthModel_MC()
          Second Constructor.
UrbanGrowthModel_MC(UrbanGrowthModel_MC_ContentManager 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

RA_MonteCarlo

protected PropertyReadAccess RA_MonteCarlo

MonteCarlo

protected int MonteCarlo

years

protected int years
Constructor Detail

UrbanGrowthModel_MC

public UrbanGrowthModel_MC(UrbanGrowthModel_MC_ContentManager contManager)
First Constructor

Parameters:
contManager -

UrbanGrowthModel_MC

public UrbanGrowthModel_MC()
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 is, that the number of steps is not based on the years that have to be modelled, but on the number of Monte-Carlo iterations the model has to perform. In every iteration the full UrbanGrowthModel is included in a for-loop. In the StepResults GridList are the results for the final year for every Monte-Carlo iteration and the sum of all iterations, which indicates high values for pixels that have been selected several times for urbanization.

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