You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

metadata.py 686 B

123456789101112131415161718192021222324252627282930313233343536
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. """
  4. Created on Fri Nov 6 10:11:08 2020
  5. @author: ljia
  6. """
  7. # The metadata of all graph kernels.
  8. GRAPH_KERNELS = {
  9. ### based on walks.
  10. 'common walk': '',
  11. 'marginalized': '',
  12. 'sylvester equation': '',
  13. 'fixed_point': '',
  14. 'conjugate gradient': '',
  15. 'spectral decomposition': '',
  16. ### based on paths.
  17. 'shortest path': '',
  18. 'structural shortest path': '',
  19. 'path up to length h': '',
  20. ### based on non-linear patterns.
  21. 'weisfeiler-lehman subtree': '',
  22. 'treelet': '',
  23. }
  24. def list_of_graph_kernels():
  25. """List names of all graph kernels.
  26. Returns
  27. -------
  28. list
  29. The list of all graph kernels.
  30. """
  31. return [i for i in GRAPH_KERNELS]

A Python package for graph kernels, graph edit distances and graph pre-image problem.