[Nauty] Are graphs generated by gentreeg encoded in graph6 format?
Szabolcs Horvát
szhorvat at gmail.com
Wed Nov 29 02:23:57 AEDT 2023
Hi Licheng,
It's in sparse6 format. You can tell that from the initial ":". If you use
Mathematica, you need to be explicit about the format,
ImportString[":EaXbN", "Sparse6"]. Or just use IGFromNauty[":EaXbN"] from
IGraph/M, which will choose the format automatically.
Best wishes,
Szabolcs
P.S. The formats are described here:
https://users.cecs.anu.edu.au/~bdm/data/formats.html
On Tue, 28 Nov 2023 at 21:14, lczhangmath via Nauty <nauty at anu.edu.au>
wrote:
> Hi,
>
> We have two ways to generate trees: geng n n-1 -c or gengtree. However, I
> found that the latter's encoding does not seem to be graph6. For example,
> gentreeg 6 gives me: EaYbN, :EaXeN, :EaXbN, :EaXaN, :EaWmN, :EaGaN, but I
> can't use them further. Is there any program that can convert them?
>
>
> Best wishes,
> Licheng.
>
>
>
> _______________________________________________
> Nauty mailing list
> Nauty at anu.edu.au
> https://mailman.anu.edu.au/mailman/listinfo/nauty
>
More information about the Nauty
mailing list