|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectslib.sml.sm.core.utils.SMutils
public class SMutils
Class used to define utility methods.
Constructor Summary | |
---|---|
SMutils()
|
Method Summary | ||
---|---|---|
static
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SMutils()
Method Detail |
---|
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 comparison
slib.utils.ex.SLIB_Ex_Critic
public static <X> Double getMinStrictPositiveDouble(Map<X,Double> m)
X
- the type of keym
- the map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |