接口 StartSetHandler
- 所有已知实现类:
BestFirst
,GeneticSearch
,GreedyStepwise
,LinearForwardSelection
,RandomSearch
,Ranker
public interface StartSetHandler
Interface for search methods capable of doing something sensible
given a starting set of attributes.
- 版本:
- $Revision: 1.8 $
- 作者:
- Mark Hall (mhall@cs.waikato.ac.nz)
-
方法概要
修饰符和类型方法说明Returns a list of attributes (and or attribute ranges) as a Stringvoid
setStartSet
(String startSet) Sets a starting set of attributes for the search.
-
方法详细资料
-
setStartSet
Sets a starting set of attributes for the search. It is the search method's responsibility to report this start set (if any) in its toString() method.- 参数:
startSet
- a string containing a list of attributes (and or ranges), eg. 1,2,6,10-15.- 抛出:
Exception
- if start set can't be set.
-
getStartSet
String getStartSet()Returns a list of attributes (and or attribute ranges) as a String- 返回:
- a list of attributes (and or attribute ranges)
-