Class GridMultiProcessing
- java.lang.Object
-
- org.hortonmachine.gears.libs.modules.HMModel
-
- org.hortonmachine.gears.libs.modules.multiprocessing.MultiProcessing
-
- org.hortonmachine.gears.libs.modules.multiprocessing.GridMultiProcessing
-
- Direct Known Subclasses:
OmsCutOut,OmsRasterNull
public abstract class GridMultiProcessing extends MultiProcessing
A multiprocessing class for grid loops (nested for over matrix).- Author:
- Andrea Antonello (www.hydrologis.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceGridMultiProcessing.Calculator
-
Constructor Summary
Constructors Constructor Description GridMultiProcessing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidprocessGrid(int cols, int rows, boolean ignoreBorder, GridMultiProcessing.Calculator calculator)Loops through all rows and cols of the given grid.protected voidprocessGrid(int cols, int rows, GridMultiProcessing.Calculator calculator)-
Methods inherited from class org.hortonmachine.gears.libs.modules.multiprocessing.MultiProcessing
createDefaultPlanner
-
Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel
checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template
-
-
-
-
Method Detail
-
processGrid
protected void processGrid(int cols, int rows, GridMultiProcessing.Calculator calculator) throws Exception- Throws:
Exception
-
processGrid
protected void processGrid(int cols, int rows, boolean ignoreBorder, GridMultiProcessing.Calculator calculator) throws ExceptionLoops through all rows and cols of the given grid.- Throws:
Exception
-
-