DecisionClassContainer
, UnionContainer
public abstract class ApproximatedEntityContainer
extends java.lang.Object
Constructor | Description |
---|---|
ApproximatedEntityContainer() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
Clones this approximated entity container
|
MemoryContainer |
getMemoryContainer() |
Gets reference to memory container for which this container is defined
|
double |
getQualityOfApproximation() |
Gets quality of approximation of all approximated entities which can be defined for memory container.
Calls getQualityOfApproximation(byte[]) method and passes null as mask for attributes
to indicate that mask for attributes should not be used. |
abstract double |
getQualityOfApproximation(byte[] attributesMask) |
Gets quality of approximation of all approximated entities which can be defined for memory container.
Uses given mask for attributes or considers all attributes if mask is null. |
double |
getQualityOfApproximation(double VCParameterValue) |
Gets quality of approximation of all approximated entities which can be defined for memory container.
|
abstract double |
getQualityOfApproximation(double consistencyLevel,
byte[] attributesMask) |
Gets quality of approximation of all approximated entities which can be defined for memory container.
|
public MemoryContainer getMemoryContainer()
public double getQualityOfApproximation()
getQualityOfApproximation(byte[])
method and passes null
as mask for attributes
to indicate that mask for attributes should not be used.public abstract double getQualityOfApproximation(byte[] attributesMask)
attributesMask
- Mask for attributes allowing quality of approximation calculations for a subset
of active and condition attributes.
It is checked if length of the mask is equal to the number of attributes in memory container.
If attributesMask(i) is equal to zero, than corresponding attribute is not taken into account
at all when calculating quality of approximation. If attributesMask(i) is different than zero,
than corresponding attribute is taken into account when calculating quality of approximation.InvalidValueException
- when length of the mask for attributes is different than number of attributes
in memory containerpublic double getQualityOfApproximation(double VCParameterValue)
getQualityOfApproximation(double, byte[])
method and passes null
as mask for attributes
to indicate that mask for attributes should not be used.VCParameterValue
- variable consistency parameter value for which quality of approximation should be calculated (VC-IRSA / VC-DRSA)public abstract double getQualityOfApproximation(double consistencyLevel, byte[] attributesMask)
consistencyLevel
- consistency level for which quality of approximation should be calculated (VC-DRSA / VC-IRSA)attributesMask
- Mask for attributes allowing quality of approximation calculations for a subset
of active and condition attributes.
It is checked if length of the mask is equal to the number of attributes in memory container.
If attributesMask(i) is equal to zero, than corresponding attribute is not taken into account
at all when calculating quality of approximation. If attributesMask(i) is different than zero,
than corresponding attribute is taken into account when calculating quality of approximation.InvalidValueException
- when consistency level is outside [0, 1] range
or when length of the mask for attributes is different than number of attributes in memory containerpublic java.lang.Object clone()
clone
in class java.lang.Object