Description Details Public fields Methods
A complex condition is made up of multiple elementary conditions by forming their conjunction.
A complex condition is the conjunction of elementary conditions.
conditionsthe set elementary conditions
new()Create a new ComplexCondition object.
ComplexCondition$new(conditions)
conditionsthe set of elementary conditions
complexCover()Method to calculate the set of objects matching this complex condition.
ComplexCondition$complexCover(it)
itthe information table to use
the set of matching objects - set of object names
firstMetric()Method for calculating the first comparison metric used in the DOMLEM paper.
ComplexCondition$firstMetric(G, it)
Gthe parameter of the metric - a vector describing a set of objects
itthe information table to use
a numeric metric between 0 and 1. Higher is better.
secondMetric()Method for calculating the second comparison metric used in the DOMLEM paper.
ComplexCondition$secondMetric(G, it)
Gthe parameter of the metric - a vector describing a set of objects
itthe information table to use
a non-negative integer metric. Higher is better.
allMetrics()Method for calculating all comparison metrics used in the DOMLEM paper.
ComplexCondition$allMetrics(G, it)
Gthe parameter of the metrics - a vector describing a set of objects
itthe information table to use
a list of metrics. Higher is better.
findBestElementary()Method to evaluate if an elementary condition is better than the current best.
ComplexCondition$findBestElementary(G, it, check, best)
Gthe parameter of the metric - a vector describing a set of objects
itthe information table to use
checkthe elementary condition to evaluate
bestthe current best elementary
the better of the two elementary conditions
reduceConditions()Method that tries to make a complex condition shorter. For each elementary condition e in E, check if [E - e] subset or equal B then E := E - e.
ComplexCondition$reduceConditions(B, it)
Bthe objects to cover - set of object names
itthe information table to use
a complex condition
getConstants()Method for creating an efficient representation of the constants used in the filter conditions.
ComplexCondition$getConstants(it)
itthe information table to use
a vector of filter values. Not filtered attributes have an NA value.
getConstantsGrouped()Method for creating an efficient representation of the constants used in the filter conditions, grouped by the type of variable and condition.
ComplexCondition$getConstantsGrouped(it)
itthe information table to use
a list of vector of filter values, one list for the following operator groups: (= or ~). (>=), and (<=). Not filtered attributes have an NA value.
contains()Method for deciding whether a provided elementary condition is part of this complex condition.
ComplexCondition$contains(elem)
elemthe elementary condition to check
a boolean value
append()Method for appending an additional elementary condition to the current conditions.
ComplexCondition$append(elem)
elemthe elementary condition to be added
length()Method that returns the number of elementary conditions in this complex condition.
ComplexCondition$length()
print()print method.
ComplexCondition$print()
toString()toString method.
ComplexCondition$toString()
equals()Method to compare two ComplexConditions.
ComplexCondition$equals(other)
otherthe other complex condition to compare to
a single boolean value
clone()The objects of this class are cloneable with this method.
ComplexCondition$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.