Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph hash value feature request #47

Open
nagygp opened this issue Apr 19, 2023 · 0 comments
Open

Graph hash value feature request #47

nagygp opened this issue Apr 19, 2023 · 0 comments

Comments

@nagygp
Copy link

nagygp commented Apr 19, 2023

Dear @lhsoicher , the command line program dreadnaut can be used to generate a 3x32=96-bit hash value to a graph. The command z does the job once a canonical labelling is computed (with the comman cx). It would be great to have access to the hash value using the GRAPE package. Thanks!

Dreadnaut (Debian 2.7r3+ds-1) version 2.7 (64 bits).
> n=12 $=1 g
 1 : 2;3;4;5;6;7;8;9;10;11;12;1.
> c
> x
(2 12)(3 11)(4 10)(5 9)(6 8)
level 2:  7 orbits; 5 fixed; index 2
(1 2 3 4 5 6 7 8 9 10 11 12)
level 1:  1 orbit; 1 fixed; index 12
1 orbit; grpsize=24; 2 gens; 6 nodes; maxlev=3
canupdates=1; cpu time = 0.00 seconds
> z
[N2552efde 394889fc 3c67aaf3]

Remark. The command line program bliss has no option to generate the hash value. The C++ program BLISS itself has a method g->get_hash() which produces a 32-bit hash. Unfortunately, one needs to write C/C++ programs to have access to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant