|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectslib.utils.i.Conf
slib.sml.sm.core.utils.SMconf
public class SMconf
Basic class used to represent the configuration associated to a Semantic Measures.
Field Summary | |
---|---|
String |
className
The name of the class associated to the semantic measures method the configuration is linked to. |
String |
flag
The flag corresponding to the type of measure associated to the configuration. |
ICconf |
icConf
The configuration of the Information Content metric associated to the measure. |
String |
id
The unique id associated to the configuration. |
String |
label
The label of the configuration. |
String |
pairwise_measure_id
The id of the pairwise measure associated to the configuration (in case of groupwise measures). |
Constructor Summary | |
---|---|
SMconf(String flag,
ICconf icConf)
Build an instance of configuration considering the given flag and Information Content configuration. |
|
SMconf(String id,
String flag)
Build an instance of configuration considering the given id and flag |
|
SMconf(String id,
String flag,
ICconf icConf)
Build an instance of configuration considering the given flag and Information Content configuration. |
|
SMconf(String id,
String flag,
String label)
Build an instance of configuration considering the given id, flag and label. |
|
SMconf(String id,
String flag,
String label,
ICconf icConf)
Build an instance of configuration considering the given id, flag and Information Content configuration. |
Method Summary | |
---|---|
SMconf |
addParam(String p,
Object v)
Add the parameter to the configuration Override existing parameter if one exists. |
ICconf |
getICconf()
The IC configuration associated to the configuration. |
String |
getPairwise_measure_id()
Getter of the pairwise Id |
void |
setICconf(ICconf ic)
Mutator of the IC configuration. |
void |
setPairwise_measure_id(String pairwise_measure_id)
Mutator of the pairwise id. |
String |
toString()
|
Methods inherited from class slib.utils.i.Conf |
---|
containsParam, containsParams, getParam, getParamAsDouble, getParamAsString, getParams, removeParam, setParams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String id
public String flag
public String className
public String label
public ICconf icConf
public String pairwise_measure_id
Constructor Detail |
---|
public SMconf(String id, String flag) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (must be unique).flag
- the flag defining the semantic measure method associated to
the configuration.
slib.utils.ex.SLIB_Ex_Critic
public SMconf(String id, String flag, String label) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (must be unique).flag
- the flag defining the semantic measure method associated to
the configuration.label
- the label associated to the configuration.
slib.utils.ex.SLIB_Ex_Critic
public SMconf(String flag, ICconf icConf) throws slib.utils.ex.SLIB_Ex_Critic
flag
- the flag defining the semantic measure method associated to
the configuration.icConf
- the IC configuration associated to the configuration
slib.utils.ex.SLIB_Ex_Critic
public SMconf(String id, String flag, ICconf icConf) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (must be unique).flag
- the flag defining the semantic measure method associated to
the configuration.icConf
- the IC configuration associated to the configuration
slib.utils.ex.SLIB_Ex_Critic
public SMconf(String id, String flag, String label, ICconf icConf) throws slib.utils.ex.SLIB_Ex_Critic
id
- the id of the configuration (must be unique).flag
- the flag defining the semantic measure method associated to
the configuration.label
- the label associated to the configurationicConf
- the IC configuration associated to the configuration
slib.utils.ex.SLIB_Ex_Critic
Method Detail |
---|
public ICconf getICconf()
public void setICconf(ICconf ic)
ic
- the new IC configuration to considerpublic String getPairwise_measure_id()
public void setPairwise_measure_id(String pairwise_measure_id)
pairwise_measure_id
- the new id of the measure configurationpublic String toString()
toString
in class slib.utils.i.Conf
public SMconf addParam(String p, Object v)
addParam
in class slib.utils.i.Conf
p
- the parameter flagv
- the value associated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |