|
||||||||||
| 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.pmmMeasures.PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet
public static class PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet
Class for the parameters of a PMMExplainingAwayResidual 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 | |
|---|---|
PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet()
Creates a new PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet with empty parameter values. |
|
PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet(byte order,
double[] ess)
Creates a new PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet with the parameter for the order set to order and the
parameter for the ess set to ess. |
|
PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet(StringBuffer representation)
Creates a new PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet from its XML-representation as defined by
the Storable interface. |
|
| Method Summary | |
|---|---|
double[] |
getEss()
Returns the 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. |
byte |
getOrder()
Returns the order defined by this set of parameters. |
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, getErrorMessage, getId, getNumberOfParameters, getNumberOfValues, getParameterAt, getParent, hasDefaultOrIsSet, initParameterList, initParameterList, isAtomic, isRanged, makeRanged, next, parametersLoaded, propagateId, recieveId, replaceParametersWithRangedInstance, reset, resetToFirst, setParent, simplify, valuesToString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet()
PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet with empty parameter values.
public PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet(byte order,
double[] ess)
throws Exception
PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet with the parameter for the order set to order and the
parameter for the ess set to ess.
order - the orderess - the equivalent sample size 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 - is thrown if the parameters could not be created or set
public PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet(StringBuffer representation)
throws NonParsableException
PMMExplainingAwayResidual.PMMExplainingAwayResidualParameterSet from its XML-representation as defined by
the Storable interface.
representation - the XML-code
NonParsableException - is thrown if the XML-representation could not be parsed| Method Detail |
|---|
public double[] getEss()
public byte getOrder()
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 - an Exception is thrown if the parameters could not be loadedParameterSet.parameters,
Parameter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||