com.supermap.analyst.spatialanalyst
类 ANNCellularAutomataParameter
- java.lang.Object
-
- com.supermap.analyst.spatialanalyst.ANNCellularAutomataParameter
-
public class ANNCellularAutomataParameter extends Object
基于人工神经网络的元胞自动机参数设置。
-
-
构造器概要
构造器 构造器和说明 ANNCellularAutomataParameter()
构造一个新的 ANNCellularAutomataParameter对象。ANNCellularAutomataParameter(ANNCellularAutomataParameter para)
拷贝构造函数,根据给定的ANNCellularAutomataParameter 对象构造一个与其完全相同的新对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 int
getAlpha()
返回扩散参数。CellularAutomataParameter
getCellularAutomataParameter()
返回元胞自动机的参数。int[]
getConversionClassIDs()
返回元胞自动机转换规则的分类ID(即栅格值)数组。boolean[][]
getConversionRules()
返回元胞自动机转换规则。DatasetGrid
getEndCellGrid()
返回终止栅格数据集。double
getThreshold()
返回元胞转变概率阈值。boolean
isCheckResult()
返回是否检测结果。void
setAlpha(int value)
设置扩散参数。void
setCellularAutomataParameter(CellularAutomataParameter value)
设置元胞自动机的参数。void
setCheckResult(boolean value)
设置是否检测结果。void
setConversionClassIDs(int[] value)
设置元胞自动机转换规则的分类ID(即栅格值)数组。void
setConversionRules(boolean[][] value)
设置元胞自动机转换规则。void
setEndCellGrid(DatasetGrid value)
设置终止栅格数据集。void
setThreshold(double value)
设置元胞转变概率阈值。
-
-
-
构造器详细资料
-
ANNCellularAutomataParameter
public ANNCellularAutomataParameter()
构造一个新的 ANNCellularAutomataParameter对象。
-
ANNCellularAutomataParameter
public ANNCellularAutomataParameter(ANNCellularAutomataParameter para)
拷贝构造函数,根据给定的ANNCellularAutomataParameter 对象构造一个与其完全相同的新对象。- 参数:
para
- 指定的 ANNCellularAutomataParameter对象。
-
-
方法详细资料
-
getCellularAutomataParameter
public CellularAutomataParameter getCellularAutomataParameter()
返回元胞自动机的参数。- 返回:
- 元胞自动机的参数。
-
setCellularAutomataParameter
public void setCellularAutomataParameter(CellularAutomataParameter value)
设置元胞自动机的参数。
-
isCheckResult
public boolean isCheckResult()
返回是否检测结果。- 返回:
- 是否检测结果。
- 默认值:
- 默认为true。
-
setCheckResult
public void setCheckResult(boolean value)
设置是否检测结果。- 参数:
value
- 是否检测结果。
-
getEndCellGrid
public DatasetGrid getEndCellGrid()
返回终止栅格数据集。- 返回:
- 终止栅格数据集。
-
setEndCellGrid
public void setEndCellGrid(DatasetGrid value)
设置终止栅格数据集。当isCheckResult为true时,必设。- 参数:
value
- 终止栅格数据集。
-
getThreshold
public double getThreshold()
返回元胞转变概率阈值。- 返回:
- 元胞转变概率阈值。
- 默认值:
- 默认值为0.75。
-
setThreshold
public void setThreshold(double value)
设置元胞转变概率阈值。只有转变概率超过规定的阈值后,土地类型才会发生转变,取值为[0,1]。阈值越大,越难发生转换,迭代完成的时间越长。
- 参数:
value
- 元胞转变概率阈值。
-
getAlpha
public int getAlpha()
返回扩散参数。- 返回:
- 扩散参数。
- 默认值:
- 默认值为1。
-
setAlpha
public void setAlpha(int value)
设置扩散参数。用来控制随机扰动的强度,取值在1-10范围内,值越大则计算的概率值越大。
- 参数:
value
- 扩散参数。
-
getConversionRules
public boolean[][] getConversionRules()
返回元胞自动机转换规则。- 返回:
- 元胞自动机转换规则。
-
setConversionRules
public void setConversionRules(boolean[][] value)
设置元胞自动机转换规则。元胞自动机转换规则即是否可以转换为其他用地类型。设置不能转换时相当于设定该类型为限制发展区域,例如水体一般不可以转换为其他用地类型,林地、耕地等可以转换为城市用地。
- 参数:
value
- 元胞自动机转换规则。
-
getConversionClassIDs
public int[] getConversionClassIDs()
返回元胞自动机转换规则的分类ID(即栅格值)数组。- 返回:
- 元胞自动机转换规则的分类ID(即栅格值)数组。
-
setConversionClassIDs
public void setConversionClassIDs(int[] value)
设置元胞自动机转换规则的分类ID(即栅格值)数组。- 参数:
value
- 元胞自动机转换规则的分类ID(即栅格值)数组。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.