|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet
de.jstacs.scoringFunctions.directedGraphicalModels.structureLearning.measures.btMeasures.BTMutualInformation.BTMutualInformationParameterSet
public static class BTMutualInformation.BTMutualInformationParameterSet
Class for the parameters of a BTMutualInformation structure
Measure.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class de.jstacs.parameters.ParameterSet |
|---|
ParameterSet.ParameterList |
| Field Summary |
|---|
| Fields inherited from class de.jstacs.parameters.ParameterSet |
|---|
errorMessage, parameters, parent, ranged |
| Constructor Summary | |
|---|---|
BTMutualInformation.BTMutualInformationParameterSet()
Creates a new BTMutualInformation.BTMutualInformationParameterSet with empty
parameter values. |
|
BTMutualInformation.BTMutualInformationParameterSet(BTMutualInformation.DataSource clazz,
double[] ess)
Creates a new BTMutualInformation.BTMutualInformationParameterSet with the
parameter for the BTMutualInformation.DataSource set to clazz and
the parameter for the equivalent sample sizes (ess) set to
ess. |
|
BTMutualInformation.BTMutualInformationParameterSet(StringBuffer representation)
The standard constructor for the interface Storable
. |
|
| Method Summary | |
|---|---|
BTMutualInformation.DataSource |
getClazz()
Returns the source of the data to compute the mutual information as defined by this set of parameters. |
double[] |
getEss()
Returns the equivalent sample sizes (ess) defined by this set of parameters. |
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be constructed using this ParameterSet. |
String |
getInstanceName()
Returns the name of an instance of the class that can be constructed using this ParameterSet. |
protected void |
loadParameters()
Loads the parameters for this ParameterSet. |
| Methods inherited from class de.jstacs.parameters.InstanceParameterSet |
|---|
fromXML, getInstance, getInstanceClass, toXML |
| Methods inherited from class de.jstacs.parameters.ParameterSet |
|---|
clone, fromGalaxy, getErrorMessage, getId, getIndex, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setParent, simplify, toGalaxy, valuesToString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BTMutualInformation.BTMutualInformationParameterSet()
BTMutualInformation.BTMutualInformationParameterSet with empty
parameter values.
public BTMutualInformation.BTMutualInformationParameterSet(BTMutualInformation.DataSource clazz,
double[] ess)
throws Exception
BTMutualInformation.BTMutualInformationParameterSet with the
parameter for the BTMutualInformation.DataSource set to clazz and
the parameter for the equivalent sample sizes (ess) set to
ess.
clazz - the source of the data to compute the mutual informationess - the equivalent sample sizes for the foreground class and
the background, i.e. the background class or (in case of
more than two classes) all non-foreground classes
Exception - if the parameters could not be created or set
public BTMutualInformation.BTMutualInformationParameterSet(StringBuffer representation)
throws NonParsableException
Storable
. Creates a new BTMutualInformation.BTMutualInformationParameterSet from its XML
representation as defined by the Storable
interface.
representation - the XML code as StringBuffer
NonParsableException - if the XML representation could not be parsed| Method Detail |
|---|
public double[] getEss()
public BTMutualInformation.DataSource getClazz()
public String getInstanceComment()
InstanceParameterSetParameterSet.
getInstanceComment in class InstanceParameterSetpublic String getInstanceName()
InstanceParameterSetParameterSet.
getInstanceName in class InstanceParameterSet
protected void loadParameters()
throws Exception
ParameterSetParameterSet. This is in most cases
done by calling ParameterSet.initParameterList() or
ParameterSet.initParameterList(int) to initialize
ParameterSet.parameters and afterwards filling
ParameterSet.parameters with instances of subclasses of
Parameter.
loadParameters in class ParameterSetException - if the parameters could not be loadedParameter,
ParameterSet.parameters,
ParameterSet.initParameterList(),
ParameterSet.initParameterList(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||