independentSets(M, s)
independentSets M
A subset of the ground set is called independent if it is contained in a basis, or equivalently, does not contain a circuit. This method returns certain independent subsets of the ground set, depending on the input:
If an integer $s$ is provided, then all independent subsets of size $s$ in $M$ are returned.
If a subset $S$ of the ground set of $M$ is given, then all maximal independent subsets of $S$ are returned.
If neither a size $s$ nor a subset $S$ is given, then all independent sets of M is returned (which may be quite large).
|
|
|
|
|
|
|
The source of this document is in Matroids/doc-Matroids.m2:937:0.