public class Combination
extends java.lang.Object
Constructor and Description |
---|
Combination() |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.emf.common.util.EList |
combinations(org.eclipse.emf.common.util.EList elements,
org.eclipse.emf.common.util.EList bees,
int k)
This method computes the simple combinations of length k, of n elements (contained
in the list passed as parameter) that don't belong to the same boolean error expression
|
static org.eclipse.emf.common.util.EList |
combineBooleanExpressions(org.eclipse.emf.common.util.EList elements,
int k) |
public static org.eclipse.emf.common.util.EList combinations(org.eclipse.emf.common.util.EList elements, org.eclipse.emf.common.util.EList bees, int k)
elements
- EList containing the elements, EList of objects ErrorSourceNameEncbees
- EList containing the boolean error expressions in the DNFk
- int, length of the combinationspublic static org.eclipse.emf.common.util.EList combineBooleanExpressions(org.eclipse.emf.common.util.EList elements, int k)
elements
- EList containing objects of class BooleanExpressionk
- length of the combinations k>0