numericattribute.java

来自「数据挖掘。数据仓库」· Java 代码 · 共 48 行

JAVA
48
字号
package org.scut.DataMining.Core;

public class NumericAttribute extends MiningAttribute 
{
	/** lower bound of the numeric attribute */
	private double lowerBound = Double.MAX_VALUE;
	/** upper bound of the numeric attribute */
	private double upperBound = Double.MIN_VALUE;
	public NumericAttribute(String name)
	{
		super(name);
		// TODO Auto-generated constructor stub
	}
	/**
	 * Gets the lower bound of the numeric attribute
	 * @return lower bound of the numeric attribute 
	 */
	public double getLowerBound()
	{
		return this.lowerBound;
	}
	/**
	 * Sets the new lower bound of the numeric attribute
	 * @param value new lower bound value
	 */
	public void setLowerBound(double value)
	{
		this.lowerBound = value;
	}
	/** 
	 * Gets the upper bound of the numeric attribute
	 * @return upper bound of the numeric attribute
	 */
	public double getUpperBound()
	{
		return this.upperBound;
	}
	/**
	 * Sets the new upper bound of the numeric attribute
	 * @param value new upper bound value
	 */
	public void setUpperBound(double value)
	{
		this.upperBound = value;
	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?