Serialized Form


Package uk.ac.leeds.ccg.andyt.grids.core

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCell extends OutOfMemoryErrorHandler implements Serializable

serialVersionUID: 1L

Serialized Fields

_GridStatistics

AbstractGridStatistics _GridStatistics
A reference to the grid Statistics Object.


_NChunkRows

int _NChunkRows
For storing the number of chunk rows.


_NChunkCols

int _NChunkCols
For storing the number of chunk columns.


_ChunkNRows

int _ChunkNRows
For storing the (usual) number of rows of cells in a chunk. The number of rows in the final chunk row may be less.


_ChunkNCols

int _ChunkNCols
For storing the (usual) number of columns of cells in a chunk. The number of columns in the final chunk column may be less.


_NRows

long _NRows
For storing the number of rows in the grid.


_NCols

long _NCols
For storing the number of columns in the grid.


_Name

java.lang.String _Name
For storing the _Name of the grid.


_Dimensions

java.math.BigDecimal[] _Dimensions
For storing cellsize, minx, miny, maxx, maxy. Although maxx and maxy could be easily calculated if required, for convenience they are calculated and stored by default during construction.


_DimensionsScale

int _DimensionsScale
For storing the minimum number of decimal places used to store _Dimensions.

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCell.CellID extends java.lang.Object implements Serializable

Serialized Fields

_CellRowIndex

long _CellRowIndex
For storing the row in which the cell is positioned


_CellColIndex

long _CellColIndex
For storing the column in which the cell is positioned


hashCode

int hashCode
For storing a hashCode for the cell. NB. When the number of cells in a grid is more than the maximum int value care should be taken that hashCodes are distributed in a relatively even way. Operations will slow down greatly if a large number of cells have a CellID with the same hashCode.

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCell.ChunkID extends java.lang.Object implements Serializable

Serialized Fields

_ChunkRowIndex

int _ChunkRowIndex
For storing the chunk row index


_ChunkColIndex

int _ChunkColIndex
For storing the chunk column index


hashCode

int hashCode
For storing a hashCode for this ChunkID. NB. When the number of cells in a chunk is more than the maximum int value care should be taken to distributed hashcodes in a relatively even way. Operations may slow down greatly if a large number of chunks have ChunkIDs with the same hashCode.

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCellChunk extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCellChunk.ChunkCellID extends java.lang.Object implements Serializable

Serialized Fields

chunkCellRowIndex

int chunkCellRowIndex
For storing the row in which the cell is positioned


chunkCellColIndex

int chunkCellColIndex
For storing the column in which the cell is positioned


hashCode

int hashCode
For storing a hashCode for the cell. NB. When the number of cells in a grid is more than the maximum int value care should be taken to distributed hashcodes in a relatively even way. Operations will slow down greatly if a large number of cells have a ChunkCellID with the same hashCode.

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCellDoubleChunk extends AbstractGrid2DSquareCellChunk implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCellFactory extends OutOfMemoryErrorHandler implements Serializable

Serialized Fields

_Directory

java.io.File _Directory
A _Directory for swapping.


_ChunkNRows

int _ChunkNRows
The number of rows in a chunk.


_ChunkNCols

int _ChunkNCols
The number of columns in a chunk.


_Dimensions

java.math.BigDecimal[] _Dimensions
The Dimensions


_GridStatistics

AbstractGridStatistics _GridStatistics
The AbstractGridStatistics


_HandleOutOfMemoryError

boolean _HandleOutOfMemoryError
_HandleOutOfMemoryError

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGrid2DSquareCellIntChunk extends AbstractGrid2DSquareCellChunk implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.AbstractGridStatistics extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

_Grid2DSquareCell

AbstractGrid2DSquareCell _Grid2DSquareCell
A reference to the AbstractGrid2DSquareCell this is for.


nonNoDataValueCountBigInteger

java.math.BigInteger nonNoDataValueCountBigInteger
For storing the number of cells with non noDataValues.


sumBigDecimal

java.math.BigDecimal sumBigDecimal
For storing the sum of all non noDataValues as a BigDecimal.


minBigDecimal

java.math.BigDecimal minBigDecimal
For storing the minimum of all non noDataValues as a BigDecimal.


minCountBigInteger

java.math.BigInteger minCountBigInteger
For storing the number of min values as a BigInteger.


maxBigDecimal

java.math.BigDecimal maxBigDecimal
For storing the maximum of all non noDataValues as a BigDecimal.


maxCountBigInteger

java.math.BigInteger maxCountBigInteger
For storing the number of max values as a BigInteger.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDouble extends AbstractGrid2DSquareCell implements Serializable

serialVersionUID: 1L

Serialized Fields

_NoDataValue

double _NoDataValue
For storing the NODATA value of the grid, which by default is Double.NEGATIVE_INFINITY. N.B. Double.NaN should not be used. N.B. Care should be taken so that _NoDataValue is not a data value.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunk64CellMap extends AbstractGrid2DSquareCellDoubleChunk implements Serializable

serialVersionUID: 1L

Serialized Fields

data

gnu.trove.TDoubleLongHashMap data
For storing values mapped to a binary encoded long. The long is a key which indicates if the value is that at a given location. Both keys and values are unique.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkArray extends AbstractGrid2DSquareCellDoubleChunk implements Serializable

serialVersionUID: 1L

Serialized Fields

data

double[][] data
For storing values arranged in rows and columns.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkJAI extends AbstractGrid2DSquareCellDoubleChunk implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream ois)
Deserialization method.


writeObject

private void writeObject(java.io.ObjectOutputStream oos)
Serialization method.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkMap extends AbstractGrid2DSquareCellDoubleChunk implements Serializable

serialVersionUID: 1L

Serialized Fields

defaultValue

double defaultValue
A value initialised with grid that can be used to optimise storage. Storage is optimised with the defaultValue set to the most common value. By default the defaultValue is set to this._Grid2DSquareCell.getNoDataValue().


data

gnu.trove.TDoubleObjectHashMap data
For storing values mapped to a ChunkCellID HashSet or an individual ChunkCellID.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleChunkRAF extends AbstractGrid2DSquareCellDoubleChunk implements Serializable

serialVersionUID: 1L

Serialized Fields

file

java.io.File file
The File used to store the data.


randomAccessFile

java.io.RandomAccessFile randomAccessFile
The RandomAccessFile for accessing file.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellDoubleFactory extends AbstractGrid2DSquareCellFactory implements Serializable

Serialized Fields

_Grid2DSquareCellDoubleChunkFactory

AbstractGrid2DSquareCellDoubleChunkFactory _Grid2DSquareCellDoubleChunkFactory
The Grid2DSquareCellChunkAbstractFactory for creating chunks.


_NoDataValue

double _NoDataValue
The _NoDataValue for creating chunks.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellInt extends AbstractGrid2DSquareCell implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunk64CellMap extends AbstractGrid2DSquareCellIntChunk implements Serializable

Serialized Fields

data

gnu.trove.TIntLongHashMap data
For storing values mapped to a binary encoded long. The long is a key which indicates if the value is that at a given location. Both keys and values are unique.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkArray extends AbstractGrid2DSquareCellIntChunk implements Serializable

serialVersionUID: 1L

Serialized Fields

data

int[][] data
For storing values arranged in rows and columns.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkJAI extends AbstractGrid2DSquareCellIntChunk implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream ois)

writeObject

private void writeObject(java.io.ObjectOutputStream oos)

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkMap extends AbstractGrid2DSquareCellIntChunk implements Serializable

serialVersionUID: 1L

Serialized Fields

defaultValue

int defaultValue
A value initialised with grid that can be used to optimise storage. Storage is optimised with the defaultValue set to the most common value. By default the defaultValue is set to this._Grid2DSquareCell.getNoDataValue().


data

gnu.trove.TIntObjectHashMap data
For storing values mapped to a ChunkCellID HashSet or an individual ChunkCellID.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntChunkRAF extends AbstractGrid2DSquareCellIntChunk implements Serializable

serialVersionUID: 1L

Serialized Fields

file

java.io.File file
The File used to store the data.


randomAccessFile

java.io.RandomAccessFile randomAccessFile
The RandomAccessFile for accessing file.

Class uk.ac.leeds.ccg.andyt.grids.core.Grid2DSquareCellIntFactory extends AbstractGrid2DSquareCellFactory implements Serializable

Serialized Fields

grid2DSquareCellIntChunkFactory

AbstractGrid2DSquareCellIntChunkFactory grid2DSquareCellIntChunkFactory
The Grid2DSquareCellChunkAbstractFactory for creating chunks.

Class uk.ac.leeds.ccg.andyt.grids.core.GridStatistics0 extends AbstractGridStatistics implements Serializable

serialVersionUID: 1L

Class uk.ac.leeds.ccg.andyt.grids.core.GridStatistics1 extends AbstractGridStatistics implements Serializable

serialVersionUID: 1L

Serialized Fields

isUpToDate

boolean isUpToDate
Is true iff fields are upToDate else is false.

Class uk.ac.leeds.ccg.andyt.grids.core.OutOfMemoryErrorHandler extends java.lang.Object implements Serializable

serialVersionUID: 1L


Package uk.ac.leeds.ccg.andyt.grids.examples

Class uk.ac.leeds.ccg.andyt.grids.examples.GenerateRoofData extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

_Time

long _Time

_HandleOutOfMemoryError

boolean _HandleOutOfMemoryError

_FileSeparator

java.lang.String _FileSeparator

_MessageLength

int _MessageLength

_FilenameLength

int _FilenameLength

_Message0

java.lang.String _Message0

_Message

java.lang.String _Message

_Filename

java.lang.String _Filename

_ImageExporter

ImageExporter _ImageExporter

_ImageTypes

java.lang.String[] _ImageTypes

_ESRIAsciiGridExporter

ESRIAsciiGridExporter _ESRIAsciiGridExporter

Class uk.ac.leeds.ccg.andyt.grids.examples.GenerateTestData extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

testDataDirectory

java.io.File testDataDirectory

time0

long time0

Class uk.ac.leeds.ccg.andyt.grids.examples.UtilitiesRuns extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

time

long time

Package uk.ac.leeds.ccg.andyt.grids.process

Class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessor extends OutOfMemoryErrorHandler implements Serializable

Serialized Fields

startTime

long startTime
For storing the start time of the processing.


log

java.io.PrintWriter log
The log for recording progress and information about the processing.


logIndentation

int logIndentation
The log indentation (how many spaces before a log message line is output).


_Directory

java.io.File _Directory
Workspace directory for the processing.


_Grid2DSquareCelllIntChunkFactory

AbstractGrid2DSquareCellIntChunkFactory _Grid2DSquareCelllIntChunkFactory
Default AbstractGrid2DSquareCellIntChunkFactory


_Grid2DSquareCellIntChunk64CellMapFactory

Grid2DSquareCellIntChunk64CellMapFactory _Grid2DSquareCellIntChunk64CellMapFactory
Grid2DSquareCellIntChunk64CellMapFactory


_Grid2DSquareCellIntChunkArrayFactory

Grid2DSquareCellIntChunkArrayFactory _Grid2DSquareCellIntChunkArrayFactory
Grid2DSquareCellIntChunkArrayFactory


_Grid2DSquareCellIntChunkJAIFactory

Grid2DSquareCellIntChunkJAIFactory _Grid2DSquareCellIntChunkJAIFactory
Grid2DSquareCellIntChunkJAIFactory


_Grid2DSquareCellIntChunkMapFactory

Grid2DSquareCellIntChunkMapFactory _Grid2DSquareCellIntChunkMapFactory
Grid2DSquareCellIntChunkMapFactory


_Grid2DSquareCellIntChunkRAFFactory

Grid2DSquareCellIntChunkRAFFactory _Grid2DSquareCellIntChunkRAFFactory
Grid2DSquareCellIntChunkRAFFactory


_Grid2DSquareCellIntFactory

Grid2DSquareCellIntFactory _Grid2DSquareCellIntFactory
Grid2DSquareCellIntFactory


_Grid2DSquareCellDoubleChunkFactory

AbstractGrid2DSquareCellDoubleChunkFactory _Grid2DSquareCellDoubleChunkFactory
Default AbstractGrid2DSquareCellDoubleChunkFactory


_Grid2DSquareCellDoubleChunk64CellMapFactory

Grid2DSquareCellDoubleChunk64CellMapFactory _Grid2DSquareCellDoubleChunk64CellMapFactory
Grid2DSquareCellDoubleChunk64CellMapFactory


_Grid2DSquareCellDoubleChunkArrayFactory

Grid2DSquareCellDoubleChunkArrayFactory _Grid2DSquareCellDoubleChunkArrayFactory
Grid2DSquareCellDoubleChunkArrayFactory


_Grid2DSquareCellDoubleChunkJAIFactory

Grid2DSquareCellDoubleChunkJAIFactory _Grid2DSquareCellDoubleChunkJAIFactory
Grid2DSquareCellDoubleChunkJAIFactory


_Grid2DSquareCellDoubleChunkMapFactory

Grid2DSquareCellDoubleChunkMapFactory _Grid2DSquareCellDoubleChunkMapFactory
Grid2DSquareCellDoubleChunkMapFactory


_Grid2DSquareCellDoubleChunkRAFFactory

Grid2DSquareCellDoubleChunkRAFFactory _Grid2DSquareCellDoubleChunkRAFFactory
Grid2DSquareCellDoubleChunkRAFFactory


_Grid2DSquareCellDoubleFactory

Grid2DSquareCellDoubleFactory _Grid2DSquareCellDoubleFactory
Grid2DSquareCellDoubleFactory


_GridStatistics0

GridStatistics0 _GridStatistics0
GridStatistics0


_GridStatistics1

GridStatistics1 _GridStatistics1
GridStatistics1


_GridStatistics

AbstractGridStatistics _GridStatistics
GridStatistics1

Class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessorDEM extends Grid2DSquareCellProcessor implements Serializable

Serialized Fields

_CellIDs

java.util.HashSet<E> _CellIDs
A HashSet for storing AbstractGrid2DSquareCell.CellIDs

Class uk.ac.leeds.ccg.andyt.grids.process.Grid2DSquareCellProcessorGWS extends Grid2DSquareCellProcessor implements Serializable


Package uk.ac.leeds.ccg.andyt.grids.utilities

Class uk.ac.leeds.ccg.andyt.grids.utilities.Utilities extends OutOfMemoryErrorHandler implements Serializable