Matroids
Contraction
construct the matroid obtained by contraction
Calling Sequence
Parameters
Description
Examples
References
Contraction(M,S)
M
-
Matroid
S
set
Given a matroid M and a subset S of its ground set E, the contraction M/S of M by S is a matroid whose ground set is E∖S.
The simplest description of M/S is via its rank function. Let r be the rank function of M, then the rank function R of M/S is given by:
R⁡A=r⁡A∪S−r⁡S
with⁡Matroids:
A≔Matrix⁡1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,2
A≔111000000111100100010010001002
M≔Matroid⁡A
M≔thⅇ lⅈnⅇar matroⅈⅆ whosⅇ grounⅆ sⅇt ⅈs thⅇ sⅇt of column vⅇctors of thⅇ matrⅈx:111000000111100100010010001002
IndependentSets⁡M
∅,1,2,3,4,5,6,1,2,1,3,2,3,1,4,2,4,3,4,1,5,2,5,3,5,4,5,1,6,2,6,3,6,4,6,5,6,1,2,3,1,2,4,1,3,4,2,3,4,1,2,5,1,3,5,2,3,5,1,4,5,2,4,5,3,4,5,1,2,6,1,3,6,2,3,6,1,4,6,2,4,6,3,4,6,1,5,6,2,5,6,3,5,6,4,5,6,1,2,3,4,1,2,3,5,1,3,4,5,2,3,4,5,1,2,3,6,1,2,4,6,1,3,4,6,2,3,4,6,1,2,5,6,1,3,5,6,2,3,5,6,1,4,5,6,2,4,5,6,3,4,5,6,1,2,3,4,6,1,2,3,5,6,1,3,4,5,6,2,3,4,5,6
M2≔Contraction⁡M,1,2
M2≔a matroⅈⅆ on 4 ⅇlⅇmⅇnts wⅈth 1 cⅈrcuⅈt
IndependentSets⁡M2
∅,3,4,5,6,3,4,3,5,3,6,4,6,5,6,3,4,6,3,5,6
James G. Oxley. Matroid Theory (Oxford Graduate Texts in Mathematics). New York: Oxford University Press. 2006.
See Also
Matroids[Deletion]
Download Help Document