public class SMutils extends Object
Constructor and Description |
---|
SMutils() |
Modifier and Type | Method and Description |
---|---|
static <X> Double |
getMinStrictPositiveDouble(Map<X,Double> m)
Return the minimal positive value amon the values of the map (0 excluded)
|
static void |
throwArithmeticCriticalException(SMconf m,
SMconf p,
org.openrdf.model.URI e1,
org.openrdf.model.URI e2,
Object value)
Used to generate a
SLIB_Ex_Critic for a groupwise comparison
considering the given parameters. |
static void |
throwArithmeticCriticalException(SMconf pairwiseConf,
org.openrdf.model.URI a,
org.openrdf.model.URI b,
Object value)
Used to generate a
SLIB_Ex_Critic for a pairwise comparison
considering the given parameters. |
public static void throwArithmeticCriticalException(SMconf pairwiseConf, org.openrdf.model.URI a, org.openrdf.model.URI b, Object value) throws slib.utils.ex.SLIB_Ex_Critic
SLIB_Ex_Critic
for a pairwise comparison
considering the given parameters.pairwiseConf
- the pairwise measure configuration to considera
- the first vertexb
- the second vertexvalue
- slib.utils.ex.SLIB_Ex_Critic
public static void throwArithmeticCriticalException(SMconf m, SMconf p, org.openrdf.model.URI e1, org.openrdf.model.URI e2, Object value) throws slib.utils.ex.SLIB_Ex_Critic
SLIB_Ex_Critic
for a groupwise comparison
considering the given parameters.m
- groupwise measure configurationp
- pairwise measure configuratione1
- the first entity comparede2
- the second entity comparedvalue
- the value obtained during the comparisonslib.utils.ex.SLIB_Ex_Critic
public static <X> Double getMinStrictPositiveDouble(Map<X,Double> m)
X
- the type of keym
- the mapCopyright © 2014. All rights reserved.