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.

`conditions`

the set elementary conditions

`new()`

Create a new ComplexCondition object.

ComplexCondition$new(conditions)

`conditions`

the set of elementary conditions

`complexCover()`

Method to calculate the set of objects matching this complex condition.

ComplexCondition$complexCover(it)

`it`

the 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)

`G`

the parameter of the metric - a vector describing a set of objects

`it`

the 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)

`G`

the parameter of the metric - a vector describing a set of objects

`it`

the 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)

`G`

the parameter of the metrics - a vector describing a set of objects

`it`

the 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)

`G`

the parameter of the metric - a vector describing a set of objects

`it`

the information table to use

`check`

the elementary condition to evaluate

`best`

the 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)

`B`

the objects to cover - set of object names

`it`

the 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)

`it`

the 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)

`it`

the 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)

`elem`

the elementary condition to check

a boolean value

`append()`

Method for appending an additional elementary condition to the current conditions.

ComplexCondition$append(elem)

`elem`

the 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)

`other`

the 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)

`deep`

Whether to make a deep clone.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.