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

« back to all changes in this revision

Viewing changes to weka/classifiers/trees/m5/Rule.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:
24
24
 
25
25
import weka.core.Instance;
26
26
import weka.core.Instances;
 
27
import weka.core.RevisionHandler;
 
28
import weka.core.RevisionUtils;
27
29
import weka.core.Utils;
28
30
 
29
31
import java.io.Serializable;
32
34
 * Generates a single m5 tree or rule
33
35
 *
34
36
 * @author Mark Hall
35
 
 * @version $Revision: 1.14 $
 
37
 * @version $Revision: 1.15 $
36
38
 */
37
39
public class Rule
38
 
  implements Serializable {
 
40
  implements Serializable, RevisionHandler {
39
41
 
40
42
  /** for serialization */
41
43
  private static final long serialVersionUID = -4458627451682483204L;
625
627
  public RuleNode getM5RootNode() {
626
628
    return m_topOfTree;
627
629
  }
 
630
  
 
631
  /**
 
632
   * Returns the revision string.
 
633
   * 
 
634
   * @return            the revision
 
635
   */
 
636
  public String getRevision() {
 
637
    return RevisionUtils.extract("$Revision: 1.15 $");
 
638
  }
628
639
}
629
 
 
630