public enum SignSemantic extends Enum<SignSemantic>
g
function sign during measurements generation.EventBasedScheduler
Enum Constant and Description |
---|
FEASIBLE_MEASUREMENT_WHEN_NEGATIVE
Semantic for detectors that have negative g function when measurements are feasible.
|
FEASIBLE_MEASUREMENT_WHEN_POSITIVE
Semantic for detectors that have positive g function when measurements are feasible.
|
Modifier and Type | Method and Description |
---|---|
boolean |
measurementIsFeasible(double g)
Check if measurement is feasible.
|
static SignSemantic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignSemantic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignSemantic FEASIBLE_MEASUREMENT_WHEN_POSITIVE
public static final SignSemantic FEASIBLE_MEASUREMENT_WHEN_NEGATIVE
public static SignSemantic[] values()
for (SignSemantic c : SignSemantic.values()) System.out.println(c);
public static SignSemantic valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean measurementIsFeasible(double g)
g
- value of the detector g functionCopyright © 2002-2020 CS GROUP. All rights reserved.