uk.ac.gla.dcs.renaissance.iqir.summarisation
Class LengthPrior.Normal
java.lang.Object
uk.ac.gla.dcs.renaissance.iqir.summarisation.LengthPrior
uk.ac.gla.dcs.renaissance.iqir.summarisation.LengthPrior.Normal
- Enclosing class:
- LengthPrior
public static class LengthPrior.Normal
- extends LengthPrior
Method Summary |
void |
add(int length)
Add a new length |
void |
compute()
Compute the needed statistics |
double |
getPrior(int length)
Get the prior for this length |
String |
toString()
|
LengthPrior.Normal
public LengthPrior.Normal()
add
public void add(int length)
- Description copied from class:
LengthPrior
- Add a new length
- Overrides:
add
in class LengthPrior
compute
public void compute()
- Description copied from class:
LengthPrior
- Compute the needed statistics
- Overrides:
compute
in class LengthPrior
toString
public String toString()
- Overrides:
toString
in class Object
getPrior
public double getPrior(int length)
- Description copied from class:
LengthPrior
- Get the prior for this length
- Overrides:
getPrior
in class LengthPrior
- Returns:
Copyright © 2011. All Rights Reserved.