|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--analysis.java.RiskModule
Class for handling risk-related procedures, such as calculating risk based on slope and NDVI index
| Constructor Summary | |
RiskModule()
Creates a module of methods for risk calculating procedures |
|
| Method Summary | |
java.util.TreeMap |
basinRisk(java.util.ArrayList list,
java.util.TreeMap tree)
Creates a TreeMap containing basin id and risk value for basin as a whole |
java.util.TreeMap |
novegRisk(java.util.ArrayList list,
java.util.TreeMap tree)
Creates a TreeMap containing risk values for cells, masked out by the NDVI index and considered risk-prone |
analysis.java.Raster |
riskCellsInBasinToRaster(java.util.ArrayList list,
java.util.TreeMap map,
analysis.java.Raster raster)
Creates a Raster object with non-vegetated risk-prone cells within basins |
java.util.TreeMap |
slopeRisk(analysis.java.Raster slope)
Converts a slope Raster to a TreeMap containing cell id and risk value for cell id |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RiskModule()
| Method Detail |
public java.util.TreeMap slopeRisk(analysis.java.Raster slope)
slope - a Raster object containing slope in degrees
public java.util.TreeMap novegRisk(java.util.ArrayList list,
java.util.TreeMap tree)
list - an ArrayList of non-vegetated cells, derived from NDVI indextree - a TreeMap containing cell id and risk value for cell id
public java.util.TreeMap basinRisk(java.util.ArrayList list,
java.util.TreeMap tree)
list - an ArrayList containing all cells for each basintree - a TreeMap containing non-vegetated and risk-prone cells and their value
public analysis.java.Raster riskCellsInBasinToRaster(java.util.ArrayList list,
java.util.TreeMap map,
analysis.java.Raster raster)
list - an ArrayList containing all cells for each basinmap - a TreeMap containing risk-prone cells, based on their sloperaster - the Raster object to be poulated
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||