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

« back to all changes in this revision

Viewing changes to weka/classifiers/meta/nestedDichotomies/ND.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:
30
30
import weka.core.FastVector;
31
31
import weka.core.Instance;
32
32
import weka.core.Instances;
 
33
import weka.core.RevisionHandler;
 
34
import weka.core.RevisionUtils;
33
35
import weka.core.TechnicalInformation;
34
36
import weka.core.TechnicalInformationHandler;
35
37
import weka.core.Capabilities.Capability;
147
149
   * a node class
148
150
   */
149
151
  protected class NDTree
150
 
    implements Serializable {
 
152
    implements Serializable, RevisionHandler {
151
153
 
152
154
    /** for serialization */
153
155
    private static final long serialVersionUID = 4284655952754474880L;
331
333
        m_right.toString(text, id, level + 1);
332
334
      }
333
335
    }
 
336
    
 
337
    /**
 
338
     * Returns the revision string.
 
339
     * 
 
340
     * @return          the revision
 
341
     */
 
342
    public String getRevision() {
 
343
      return RevisionUtils.extract("$Revision: 1.9 $");
 
344
    }
334
345
  }
335
346
 
336
347
  /** The tree of classes */
599
610
      + "For more info, check\n\n"
600
611
      + getTechnicalInformation().toString();
601
612
  }
 
613
  
 
614
  /**
 
615
   * Returns the revision string.
 
616
   * 
 
617
   * @return            the revision
 
618
   */
 
619
  public String getRevision() {
 
620
    return RevisionUtils.extract("$Revision: 1.9 $");
 
621
  }
602
622
    
603
623
  /**
604
624
   * Main method for testing this class.
609
629
    runClassifier(new ND(), argv);
610
630
  }
611
631
}
612