forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Up to GraphicMatroid
- Loading branch information
Showing
13 changed files
with
171 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,8 @@ See also :mod:`sage.matroids.advanced`. | |
AUTHORS: | ||
- Rudi Pendavingh, Stefan van Zwam (2013-04-01): initial version | ||
Methods | ||
======= | ||
""" | ||
|
||
# **************************************************************************** | ||
# Copyright (C) 2013 Rudi Pendavingh <[email protected]> | ||
# Copyright (C) 2013 Stefan van Zwam <[email protected]> | ||
|
@@ -33,7 +31,6 @@ Methods | |
from sage.data_structures.bitset_base cimport * | ||
from sage.matroids.basis_matroid cimport BasisMatroid | ||
|
||
|
||
cdef class CutNode: | ||
""" | ||
An internal class used for creating linear subclasses of a matroids in a | ||
|
@@ -246,7 +243,6 @@ cdef class LinearSubclassesIter: | |
if res is not None: | ||
return res | ||
|
||
|
||
cdef class LinearSubclasses: | ||
r""" | ||
An iterable set of linear subclasses of a matroid. | ||
|
@@ -410,7 +406,6 @@ cdef class LinearSubclasses: | |
cdef long p | ||
return [self._hyperplanes[p] for p in node.planes()] | ||
|
||
|
||
cdef class MatroidExtensions(LinearSubclasses): | ||
r""" | ||
An iterable set of single-element extensions of a given matroid. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ AUTHORS: | |
- Giorgos Mousa (2024-01-01): initial version | ||
""" | ||
|
||
# **************************************************************************** | ||
# Copyright (C) 2024 Giorgos Mousa <[email protected]> | ||
# | ||
|
@@ -28,11 +29,11 @@ AUTHORS: | |
# (at your option) any later version. | ||
# https://www.gnu.org/licenses/ | ||
# **************************************************************************** | ||
|
||
from cpython.object cimport Py_EQ, Py_NE | ||
from sage.structure.richcmp cimport rich_to_bool, richcmp | ||
from .matroid cimport Matroid | ||
from .set_system cimport SetSystem | ||
from .utilities import setprint_s | ||
|
||
cdef class FlatsMatroid(Matroid): | ||
r""" | ||
|
Oops, something went wrong.