~ubuntu-branches/ubuntu/raring/weka/raring

« back to all changes in this revision

Viewing changes to weka/classifiers/trees/ADTree.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:
38
38
import weka.core.Instances;
39
39
import weka.core.Option;
40
40
import weka.core.OptionHandler;
 
41
import weka.core.RevisionUtils;
41
42
import weka.core.SelectedTag;
42
43
import weka.core.SerializedObject;
43
44
import weka.core.Tag;
96
97
 *
97
98
 * @author Richard Kirkby (rkirkby@cs.waikato.ac.nz)
98
99
 * @author Bernhard Pfahringer (bernhard@cs.waikato.ac.nz)
99
 
 * @version $Revision: 1.7 $
 
100
 * @version $Revision: 1.8 $
100
101
 */
101
102
public class ADTree
102
103
  extends Classifier 
1475
1476
      throw new Exception("Trying to merge an uninitialized tree");
1476
1477
    m_root.merge(mergeWith.m_root, this);
1477
1478
  }
 
1479
  
 
1480
  /**
 
1481
   * Returns the revision string.
 
1482
   * 
 
1483
   * @return            the revision
 
1484
   */
 
1485
  public String getRevision() {
 
1486
    return RevisionUtils.extract("$Revision: 1.8 $");
 
1487
  }
1478
1488
 
1479
1489
  /**
1480
1490
   * Main method for testing this class.
1485
1495
    runClassifier(new ADTree(), argv);
1486
1496
  }
1487
1497
}
1488