public class AvoidObservablesMerit extends AbstractMerit implements Initializable
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_AVOIDALL
If all of these is observable, we are zero.
|
static String |
KEY_AVOIDANY
If any of these is observable, we are zero.
|
static String |
KEY_SPARE
If merit is calculated for any of these targets, ignore avoid.
|
private static long |
serialVersionUID |
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
AvoidObservablesMerit(Map<String,String> init) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMerit(GlobalGrouping set,
Appointable target,
Collection<Appointable> allothers,
long within)
Calculates the maximal merit for a special target within the stated
amount of time.
|
void |
init() |
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, toStringprivate static final long serialVersionUID
public static final String KEY_AVOIDANY
public static final String KEY_AVOIDALL
public static final String KEY_SPARE
public void init()
init in interface Initializablepublic double getMerit(GlobalGrouping set, Appointable target, Collection<Appointable> allothers, long within)
Meriting