Changes between Version 2 and Version 3 of Ticket #11880
- Timestamp:
- 09/30/11 20:09:55 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11880 – Description
v2 v3 5 5 }}} 6 6 7 That is a *first implementation* of an interface between Sage and the Graph Classes database ISGCI[1]. With this interface, the XML content of the database can be read using dictionaries and lists (much easier to work with), and some operations are implemented like the comparison (relatively to inclusion) of graph classes.7 That is a '''first implementation''' of an interface between Sage and the Graph Classes database ISGCI ![1]. With this interface, the XML content of the database can be read using dictionaries and lists (much easier to work with), and some operations are implemented like the comparison (relatively to inclusion) of graph classes. 8 8 9 9 There will be more work needed on this new feature, for instance the implementation of an easy way to query the database. 10 10 11 Along with the patch, two .sobj files should be added to the directory ``SAGE_ROOT/data/graphs/``. These files are a .sobj version of the database,that I created on my own computer.11 Along with the patch, two `.sobj` files should be added to the directory `$SAGE_ROOT/data/graphs/`. These files are an `.sobj` version of the database that I created on my own computer. 12 12 13 When this patch will be merged to Sage, it is likely that users that do not update their version of Sage will progressively then be working with an outdated version of the database, as the version will be the one used the day they downloaded their copy of Sage. To avoid that, this patch implements a function ``sage.graphs.isgci.update_db`` that downloads a new version of the database from ISGCI's website and updates the current .sobjfiles.13 When this patch will be merged into Sage, it is likely that users that do not update their version of Sage will progressively then be working with an outdated version of the database, as the version will be the one used the day they downloaded their copy of Sage. To avoid that, this patch implements a function `sage.graphs.isgci.update_db()` that downloads a new version of the database from ISGCI's website and updates the current `.sobj` files. 14 14 15 15 Hence, instead of using my two files attached to this ticket, one can also call this method which will create them automatically. … … 17 17 I tried to make the documentation clear enough about all that is currently possible with ISGCI. 18 18 19 Apply: [attachment:trac_11880.patch] 20 21 One of the discussions on Sage-devel related to this database : https://groups.google.com/forum/#!searchin/sage-devel/This$20is$20the$20copy$20of$20several$20mails$20concerning$20ISGCI$20and$20what$20we$20could$20do$20with/sage-devel/N05a9w_UrIA/XGlVD7NT7p4J 19 One of the discussions on sage-devel related to this database: [http://groups.google.com/forum/#!searchin/sage-devel/This$20is$20the$20copy$20of$20several$20mails$20concerning$20ISGCI$20and$20what$20we$20could$20do$20with/sage-devel/N05a9w_UrIA/XGlVD7NT7p4J] 22 20 23 21 Nathann 24 22 25 [1] http://www.graphclasses.org/ 23 ![1] http://www.graphclasses.org/ 24 25 ---- 26 27 Apply [attachment:trac_11880.patch] to the Sage library.