uk.ac.gla.dcs.renaissance.iqir
Class WeightingScheme.SimpleTermStatistics

java.lang.Object
  extended by uk.ac.gla.dcs.renaissance.iqir.WeightingScheme.SimpleTermStatistics
All Implemented Interfaces:
WeightingScheme.TermStatistics
Enclosing class:
WeightingScheme

public static class WeightingScheme.SimpleTermStatistics
extends Object
implements WeightingScheme.TermStatistics


Constructor Summary
WeightingScheme.SimpleTermStatistics(double[] mean, double[] stddev)
           
WeightingScheme.SimpleTermStatistics(File file, int nbTerms)
          Intialisation with a file that has three columns: the term, the mean and the standard deviation
 
Method Summary
 double getMean(int index)
           
 double getStddev(int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeightingScheme.SimpleTermStatistics

public WeightingScheme.SimpleTermStatistics(File file,
                                            int nbTerms)
                                     throws FileNotFoundException
Intialisation with a file that has three columns: the term, the mean and the standard deviation

Parameters:
file -
nbTerms -
Throws:
FileNotFoundException

WeightingScheme.SimpleTermStatistics

public WeightingScheme.SimpleTermStatistics(double[] mean,
                                            double[] stddev)
Method Detail

size

public int size()
Specified by:
size in interface WeightingScheme.TermStatistics

getMean

public double getMean(int index)
Specified by:
getMean in interface WeightingScheme.TermStatistics

getStddev

public double getStddev(int index)
Specified by:
getStddev in interface WeightingScheme.TermStatistics


Copyright © 2011. All Rights Reserved.