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

« back to all changes in this revision

Viewing changes to weka/classifiers/functions/pace/DiscreteFunction.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:
21
21
 
22
22
package weka.classifiers.functions.pace;
23
23
 
 
24
import weka.core.RevisionHandler;
 
25
import weka.core.RevisionUtils;
24
26
import weka.core.matrix.DoubleVector;
25
27
import weka.core.matrix.FlexibleDecimalFormat;
26
28
import weka.core.matrix.IntVector;
32
34
 * set of points. <p>
33
35
 * 
34
36
 * @author Yong Wang (yongwang@cs.waikato.ac.nz)
35
 
 * @version $Revision: 1.3 $ */
 
37
 * @version $Revision: 1.4 $ */
36
38
 
37
 
public class  DiscreteFunction {
 
39
public class  DiscreteFunction
 
40
  implements RevisionHandler {
38
41
    
39
42
  protected DoubleVector  points;
40
43
  protected DoubleVector  values;
273
276
        
274
277
    return text.toString();
275
278
  }
 
279
  
 
280
  /**
 
281
   * Returns the revision string.
 
282
   * 
 
283
   * @return            the revision
 
284
   */
 
285
  public String getRevision() {
 
286
    return RevisionUtils.extract("$Revision: 1.4 $");
 
287
  }
276
288
 
277
289
  public static void main( String args[] )
278
290
  {