StartSetHandler

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.attributeSelection
Interface StartSetHandler

All Known Implementing Classes:
  BestFirst, FCBFSearch, GeneticSearch, GreedyStepwise, LinearForwardSelection, RandomSearch, Ranker

    public interface StartSetHandler

Interface for search methods capable of doing something sensible given a starting set of attributes.

Version:
  $Revision: 1.8 $
Author:
  Mark Hall (mhall@cs.waikato.ac.nz)

Method Summary
`java.lang.String` | `getStartSet()` Returns a list of attributes (and or attribute ranges) as a String
`void` | `setStartSet(java.lang.String startSet)` Sets a starting set of attributes for the search.

Method Detail

### setStartSet

    void setStartSet(java.lang.String startSet)
                     throws java.lang.Exception

  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.

  Parameters:
    `startSet` - a string containing a list of attributes (and or ranges), eg. 1,2,6,10-15.
  Throws:
    `java.lang.Exception` - if start set can't be set.

### getStartSet

    java.lang.String getStartSet()

  Returns a list of attributes (and or attribute ranges) as a String

  Returns:
    a list of attributes (and or attribute ranges)

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD