@@ -5005,8 +5005,8 @@ def minor(self, H, solver=None, verbose=0, induced=False, *, integrality_toleran
5005
5005
sage: gg.is_isomorphic(h)
5006
5006
True
5007
5007
5008
- TESTS::
5009
-
5008
+ TESTS:
5009
+
5010
5010
A graph `g` may have a minor isomorphic to a given graph `h` but no
5011
5011
induced minor isomorphic to `h`::
5012
5012
@@ -5095,7 +5095,7 @@ def minor(self, H, solver=None, verbose=0, induced=False, *, integrality_toleran
5095
5095
5096
5096
# if induced is True
5097
5097
# condition for induced subgraph ensures that if there
5098
- # doesnt exist an edge(h1, h2) in H then there should
5098
+ # does not exist an edge(h1, h2) in H then there should
5099
5099
# not be an edge between representative sets of h1 and h2 in G
5100
5100
if induced :
5101
5101
for h1 , h2 in H .complement ().edge_iterator (labels = False ):
@@ -5108,7 +5108,7 @@ def minor(self, H, solver=None, verbose=0, induced=False, *, integrality_toleran
5108
5108
try :
5109
5109
p .solve (log = verbose )
5110
5110
except MIPSolverException :
5111
- if induced :
5111
+ if induced :
5112
5112
raise ValueError ("This graph has no induced minor isomorphic to H !" )
5113
5113
else :
5114
5114
raise ValueError ("This graph has no minor isomorphic to H !" )
@@ -6657,7 +6657,7 @@ def cliques_maximal(self, algorithm="native"):
6657
6657
raise ValueError ("Algorithm must be equal to 'native' or to 'NetworkX'." )
6658
6658
6659
6659
@doc_index ("Clique-related methods" )
6660
- def clique_maximum (self , algorithm = "Cliquer" , solver = None , verbose = 0 ,
6660
+ def clique_maximum (self , algorithm = "Cliquer" , solver = None , verbose = 0 ,
6661
6661
* , integrality_tolerance = 1e-3 ):
6662
6662
"""
6663
6663
Return the vertex set of a maximal order complete subgraph.
@@ -6901,7 +6901,7 @@ def cliques_number_of(self, vertices=None, cliques=None):
6901
6901
for c in cliques :
6902
6902
count .update (c )
6903
6903
6904
- return {v : count [v ] for v in vertices or self }
6904
+ return {v : count [v ] for v in vertices or self }
6905
6905
6906
6906
@doc_index ("Clique-related methods" )
6907
6907
def cliques_get_max_clique_graph (self ):
@@ -7653,7 +7653,7 @@ def cliques_containing_vertex(self, vertices=None, cliques=None):
7653
7653
for v in c :
7654
7654
d [v ].append (c )
7655
7655
7656
- return {v : d [v ] for v in vertices or self }
7656
+ return {v : d [v ] for v in vertices or self }
7657
7657
7658
7658
@doc_index ("Clique-related methods" )
7659
7659
def clique_complex (self ):
0 commit comments