📄 numericattribute.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -