Description Usage Arguments Value See Also Examples
This function calculates minimal and maximal possible cardinality of each class.
1 | calculateExtremeClassCardinalities(problem)
|
problem |
Problem for which extreme class cardinalities will be calculated. |
p x 2 matrix, where p is the number of classes.
Value at [h, 1]
is a minimal possible cardinality of class C_h
,
and value at [h, 2]
is a maximal possible cardinality of class C_h
.
addMinimalClassCardinalities
addMaximalClassCardinalities
1 2 3 4 5 | perf <- matrix(c(5, 2, 1, 7, 0.5, 0.9, 0.4, 0.4), ncol = 2)
problem <- buildProblem(perf, 3, FALSE, c('g', 'g'), c(0, 0))
problem <- addAssignmentsLB(problem, c(1, 2), c(2, 3))
extremeClassCardinalities <- calculateExtremeClassCardinalities(problem)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.