sagemath/sage

Allow passing command to plantri

slel opened this issue · 11 comments

slel commented

Allow passing command to plantri, similar
to what graphs.nauty_geng allows for nauty.

As suggested in #31571.

CC: @fchapoton @dcoudert @slel

Component: graph theory

Author: David Coudert

Branch: 37a5b40

Reviewer: Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/31590

Commit: 7537643

Author: David Coudert

comment:3

This is a first version of the method.

  • the name plantri_gen might not be best possible. Could be simply plantri ?
  • I use a try except statement but I'm not sure it's the best way. We have an error when the combination of parameters does not allow plantri to generate any graph. Should we instead return nothing ?
  • I have documented some parameters that are part of version 5.2 (release in 2021) but not of 4.5 (version released in 2011 that we use). I have opened #33120 to update to plantri 5.2.

New commits:

7537643trac #31590: allow passing command to plantri

Changed commit from 7537643 to 37a5b40

Branch pushed to git repo; I updated commit sha1. New commits:

37a5b40trac #31590: add missing optional statements
comment:5

Should be ok now.

Reviewer: Matthias Koeppe

Changed branch from public/graphs/31590_plantri to 37a5b40

Changed commit from 37a5b40 to none

comment:8

See #34245 for a followup: there is a bad doctest created by this ticket.