public class EntropyMetric extends AbstractMetric
Constructor and Description |
---|
EntropyMetric() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(ISpectrum spectrum) |
String |
getName() |
boolean |
requireFormula() |
equals, getFormula, hashCode, log2, normalize, normalize, setFormula, validMatrix
public double calculate(ISpectrum spectrum)
AbstractMetric
calculate
in interface IMetric
calculate
in class AbstractMetric
public String getName()
AbstractMetric
getName
in interface IMetric
getName
in class AbstractMetric
public boolean requireFormula()
AbstractMetric
requireFormula
in interface IMetric
requireFormula
in class AbstractMetric
Copyright © 2010–2019 GZoltar. All rights reserved.