public abstract class AbstractNightMerit extends AbstractMerit
| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFNIGHTLENGTH
Default time-span for successful observations.
|
private static String |
DEFNIGHTREMAIN
Default time-span for successful observations.
|
static String |
KEY_NIGHTLENGTH
The key pointing to the name of the nightlength parameter.
|
static String |
KEY_NIGHTREMAIN
The key pointing to the name of the nightremain parameter.
|
static String |
KEY_PERNIGHT
The number of targets that must be observed to force timeout.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
AbstractNightMerit(Map<String,String> init) |
| Modifier and Type | Method and Description |
|---|---|
protected Pair<Integer,Integer> |
countObservations(HistoryAware target,
GlobalGrouping set,
long grace)
Counts the numbers of observations this target has been performing in
the actual night.
|
createMerit, getInitializer, initMeritaugment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String KEY_PERNIGHT
public static final String KEY_NIGHTLENGTH
public static final String KEY_NIGHTREMAIN
private static final String DEFNIGHTLENGTH
private static final String DEFNIGHTREMAIN
protected Pair<Integer,Integer> countObservations(HistoryAware target, GlobalGrouping set, long grace)