Page 14 sur 14

Re: graph theory commands for Giac

Publié : jeu. févr. 21, 2019 12:54 pm
par parisse
Should be in 1.5.0-43.

Re: graph theory commands for Giac

Publié : jeu. févr. 28, 2019 10:21 am
par lukamar
Hi,
I have improved is_hamiltonian command, now it uses a backtracking algorithm and works with digraphs as well as with undirected graphs. It does not call traveling_salesman anymore. The backtracking technique is simple but it works well on smaller graphs. I changed the corresponding entry in the manual accordingly.

[Edit] I also improved is_eulerian command, now it accepts digraphs too.

Re: graph theory commands for Giac

Publié : jeu. févr. 28, 2019 2:37 pm
par parisse
Thanks, I have synchronized my source.

Re: graph theory commands for Giac

Publié : ven. mars 08, 2019 2:42 pm
par lukamar
New updates:
* traveling_salesman now works with digraphs too, I also improved the code for undirected graphs,
* hamiltonicity testing for digraphs is improved,
* imported graphs are now checked for duplicate vertex labels,
* graph theory manual is updated and I corrected/added some examples in aide_cas.