public class DiscMaskedConfig extends MaskedConfig
Modifier and Type | Field and Description |
---|---|
double |
defaultMultiple
The default multiple to use for any continuous attributes that have not been specifically set.
|
java.util.Map<java.lang.Object,java.lang.Double> |
keyWiseMultiples
The multiples to use for specific attributes
|
maskedObjectClasses, maskedVariables
Constructor and Description |
---|
DiscMaskedConfig() |
DiscMaskedConfig(double defaultMultiple) |
DiscMaskedConfig(java.util.Set<java.lang.Object> maskedVariables,
java.util.Set<java.lang.String> maskedObjectClasses,
java.util.Map<java.lang.Object,java.lang.Double> keyWiseMultiples,
double defaultMultiple) |
Modifier and Type | Method and Description |
---|---|
void |
addFloorDiscretizingMultipleFor(java.lang.Object key,
double nearestMultipleValue)
Sets the multiple to use for discretization for the given key.
|
void |
setDefaultFloorDiscretizingMultiple(double defaultMultiple)
Sets the default multiple to use for continuous values that do not have specific multiples set
for them.
|
addObjectClassMasks, addVariableMasks, clearAllAttributeMasks, clearAllObjectClassMasks, copy, getMaskedObjectClasses, getMaskedVariables, removeAttributeMasks, removeObjectClassMasks
public java.util.Map<java.lang.Object,java.lang.Double> keyWiseMultiples
public double defaultMultiple
public DiscMaskedConfig()
public DiscMaskedConfig(double defaultMultiple)
public DiscMaskedConfig(java.util.Set<java.lang.Object> maskedVariables, java.util.Set<java.lang.String> maskedObjectClasses, java.util.Map<java.lang.Object,java.lang.Double> keyWiseMultiples, double defaultMultiple)
public void addFloorDiscretizingMultipleFor(java.lang.Object key, double nearestMultipleValue)
key
- the name of the state variable key whose discretization multiple is being set.nearestMultipleValue
- the multiple to which values are floored.public void setDefaultFloorDiscretizingMultiple(double defaultMultiple)
defaultMultiple
- the default multiple to which values are floored