~ubuntu-branches/ubuntu/oneiric/weka/oneiric

« back to all changes in this revision

Viewing changes to weka/clusterers/SingleClustererEnhancer.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner, Soeren Sonnenburg, Torsten Werner
  • Date: 2008-08-10 21:27:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080810212705-tr8etpnkdx2ziktp
Tags: 3.5.8-1
[ Soeren Sonnenburg ]
* Bump Standards Version to 3.8.0.
* Remove references to non-free Java in debian/copyright.

[ Torsten Werner ]
* new upstream release
* Switch to openjdk-6.
* Move package to main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 * Meta-clusterer for enhancing a base clusterer.
36
36
 *
37
37
 * @author FracPete (fracpete at waikato dot ac dot nz)
38
 
 * @version $Revision: 1.3 $
 
38
 * @version $Revision: 1.4 $
39
39
 */
40
40
public abstract class SingleClustererEnhancer
41
 
  extends Clusterer
 
41
  extends AbstractClusterer
42
42
  implements OptionHandler {
43
43
 
44
44
  /** for serialization */
96
96
    if (tmpStr.length() > 0) { 
97
97
      // This is just to set the classifier in case the option 
98
98
      // parsing fails.
99
 
      setClusterer(Clusterer.forName(tmpStr, null));
100
 
      setClusterer(Clusterer.forName(tmpStr, Utils.partitionOptions(options)));
 
99
      setClusterer(AbstractClusterer.forName(tmpStr, null));
 
100
      setClusterer(AbstractClusterer.forName(tmpStr, Utils.partitionOptions(options)));
101
101
    } 
102
102
    else {
103
103
      // This is just to set the classifier in case the option 
104
104
      // parsing fails.
105
 
      setClusterer(Clusterer.forName(defaultClustererString(), null));
106
 
      setClusterer(Clusterer.forName(defaultClustererString(), Utils.partitionOptions(options)));
 
105
      setClusterer(AbstractClusterer.forName(defaultClustererString(), null));
 
106
      setClusterer(AbstractClusterer.forName(defaultClustererString(), Utils.partitionOptions(options)));
107
107
    }
108
108
  }
109
109