Skip to contents

All have the same size in a matroid, which is a consequence of exchange rather than an assumption.

Usage

morie_matroid_bases(ground, independent)

Arguments

ground, independent

The matroid.

Value

A list of integer vectors.

Examples

V <- c(1, 2, 3, 4, 5, 6, 7, 8)
morie_matroid_bases(V, V)
#> [[1]]
#> [1] 1
#> 
#> [[2]]
#> [1] 2
#> 
#> [[3]]
#> [1] 3
#> 
#> [[4]]
#> [1] 4
#> 
#> [[5]]
#> [1] 5
#> 
#> [[6]]
#> [1] 6
#> 
#> [[7]]
#> [1] 7
#> 
#> [[8]]
#> [1] 8
#>