incrinducer.java
来自「c4.5 ID3 分类决策数 公用java包 share」· Java 代码 · 共 34 行
JAVA
34 行
package shared;
import java.lang.*;
import java.util.*;
/** Abstract template for incremental inducers.
* @author James Louis java Implementation
*/
abstract public class IncrInducer extends Inducer { // ABC
/** This class has no access to a copy constructor.
* @param source */
private IncrInducer(IncrInducer source){super("");}
/** This class has no access to an assign method.
* @param source */
private void assign(IncrInducer source){}
/** Constructor.
* @param description Description of this incremental inducer.
*/
public IncrInducer(String description){super(description);}
/** Add an instance of data to this inducer.
* @param instance The instance to be added.
* @return The iterator of instances after the addition of the instance.
*/
abstract public ListIterator add_instance(Instance instance);
/** Deletes the instance of data in the current position of the list iterator.
* @param pix The iterator of the list of instances.
* @return The instance deleted.
*/
abstract public Instance del_instance(ListIterator pix);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?