#13294: Add test for not necessarly induced subgraphs to Graph.is_subgraph()
method
-------------------------------------------+--------------------------------
Reporter: steven | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-5.2
Component: graph theory | Resolution:
Keywords: graph, induced subgraph | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Stefano Leucci | Merged in:
Dependencies: | Stopgaps:
-------------------------------------------+--------------------------------
Changes (by {'newvalue': u'Stefano Leucci', 'oldvalue': ''}):
* author: => Stefano Leucci
Comment:
A few minor things:
* Python identifiers (like `True`, `self` and `other`) should
consistently be typeset monospaced ({{{``True``}}}).
* Parameters are usually documented in a list (`INPUT:`), like here:
{{{
#!python
def __copy__(self, implementation='c_graph', sparse=None):
"""
Creates a copy of the graph.
INPUT:
- ``implementation`` - string (default: 'networkx') the
implementation goes here. Current options are only
'networkx' or 'c_graph'.
- ``sparse`` - boolean (default: None) whether the
graph given is sparse or not.
OUTPUT:
A Graph object.
}}}
(I'd also move the comment `#induced is True for backwards
compatibility` there.)
* `s/wether/whether/` (once)
You can add yourself to the
[http://trac.sagemath.org/sage_trac/wiki#AccountNamesMappedtoRealNames
list of Sage developers] on the wiki page.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13294#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.