public class DefaultObserverConfiguration extends DropletObserverConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_IDENTIFIER
Type identifier.
|
Constructor and Description |
---|
DefaultObserverConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
int |
getMicrofluidicChipID()
Returns the ID of the chip for which this observer observes the droplet height.
|
double |
getObserverIndividual()
Returns learn rate constant of individual droplet heights.
|
double |
getObserverMean()
Returns learn rate constant of mean droplet heights.
|
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
void |
setMicrofluidicChipID(int microfluidicChipID)
Sets the ID of the chip for which this observer observes the droplet height.
|
void |
setObserverIndividual(double observerIndividual)
Sets the learn rate constant of individual droplet heights.
|
void |
setObserverMean(double observerMean)
Sets the learn rate constant of mean droplet heights.
|
clone
public static final java.lang.String TYPE_IDENTIFIER
public java.lang.String getTypeIdentifier()
Configuration
public int getMicrofluidicChipID()
public void setMicrofluidicChipID(int microfluidicChipID)
microfluidicChipID
- The id of the chip.public double getObserverIndividual()
public void setObserverIndividual(double observerIndividual)
observerIndividual
- Individual droplet height learn rate constant (0-1).public double getObserverMean()
public void setObserverMean(double observerMean)
observerMean
- Mean droplet height learn rate constant (0-2).public void checkConfiguration() throws ConfigurationException
Configuration
ConfigurationException
is thrown describing the error, and what has to be changed in the configuration, by the user,
such that it becomes valid. This error can then e.g. be displayed to the user
(see ConfigurationAddonTools.displayConfigurationInvalid(ConfigurationException, YouScopeClient).checkConfiguration
in interface Configuration
checkConfiguration
in class ResourceConfiguration
ConfigurationException