slib.sml.sm.core.metrics.utils
Class LogBasedMetric
java.lang.Object
slib.sml.sm.core.metrics.utils.LogBasedMetric
- All Implemented Interfaces:
- LogBasedMetricInterface
- Direct Known Subclasses:
- IC_annot_resnik_1995, IC_annot_resnik_1995_Normalized, IC_probOccurence_propagatted, ICi_depth_max_nonlinear, ICi_depth_min_nonlinear, ICi_harispe_2012, ICi_resnik_1995, ICi_resnik_unpropagatted_1995, ICi_sanchez_2011_a, ICi_sanchez_2011_b, ICi_seco_2004, ICi_zhou_2008
public class LogBasedMetric
- extends Object
- implements LogBasedMetricInterface
- Author:
- Harispe Sébastien
Method Summary |
Double |
getLogBase()
Getter of the log base associated to the metric. |
void |
setLogBase(slib.utils.i.Conf conf)
Mutator of the log base associated to the metric. |
void |
setLogBase(Double logbase)
Mutator of the log base associated to the metric. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogBasedMetric
public LogBasedMetric()
getLogBase
public Double getLogBase()
- Description copied from interface:
LogBasedMetricInterface
- Getter of the log base associated to the metric.
- Specified by:
getLogBase
in interface LogBasedMetricInterface
- Returns:
- the log base
setLogBase
public void setLogBase(Double logbase)
- Description copied from interface:
LogBasedMetricInterface
- Mutator of the log base associated to the metric.
- Specified by:
setLogBase
in interface LogBasedMetricInterface
- Parameters:
logbase
- the new log base
setLogBase
public void setLogBase(slib.utils.i.Conf conf)
throws slib.utils.ex.SLIB_Ex_Critic
- Description copied from interface:
LogBasedMetricInterface
- Mutator of the log base associated to the metric.
The method set the value associated to any parameter
SMParams.LOG_BASE
specified in the specified configuration (if any).
- Specified by:
setLogBase
in interface LogBasedMetricInterface
- Parameters:
conf
- the configuration to consider
- Throws:
slib.utils.ex.SLIB_Ex_Critic
- if the specified value cannot be parsed to a Double
Copyright © 2013. All Rights Reserved.