#19477: Graph(filename)
-------------------------+-------------------------------------------------
Reporter: | Owner:
ncohen | Status: needs_review
Type: | Milestone: sage-6.10
enhancement | Resolution:
Priority: major | Merged in:
Component: graph | Reviewers:
theory | Work issues:
Keywords: | Commit:
Authors: | 836cef67d31fe19b405fd82a3f8a769acfa53280
Nathann Cohen | Stopgaps:
Report Upstream: N/A |
Branch: |
u/ncohen/19477 |
Dependencies: |
#19390 |
-------------------------+-------------------------------------------------
Comment (by dcoudert):
So then we could have an optional parameter like `label_type=str`
(default) and allow `float`, `int`, or even a function `str->whatever is
acceptable as edgelabel`.
The user should not have to manually change the label of all edges of the
graph from string to what is relevant after it has been read from file.
You will have the same issue in C++.
Another remark is that with the method you use to extract u,v,w, the label
w can not contain spaces.
--
Ticket URL: <http://trac.sagemath.org/ticket/19477#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.