slib.sml.sm.core.metrics.utils
Interface LogBasedMetricInterface

All Known Implementing Classes:
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, LogBasedMetric

public interface LogBasedMetricInterface

Interface implemented by classes depending on a log base configuration.

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.
 

Method Detail

getLogBase

Double getLogBase()
Getter of the log base associated to the metric.

Returns:
the log base

setLogBase

void setLogBase(Double logbase)
Mutator of the log base associated to the metric.

Parameters:
logbase - the new log base

setLogBase

void setLogBase(slib.utils.i.Conf conf)
                throws slib.utils.ex.SLIB_Ex_Critic
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).

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.