Skip to main content

Interfacing Python and NetworkX with VF3 – the fastest algorithm for graph/subgraph isomorphism calculation

Project description

VF3Py

Interfacing Python and NetworkX with VF3 – the fastest algorithm for graph/subgraph isomorphism calculation.

Setup

Make sure that your OS is either Linux or Windows. For Linux, you need to have Python >= 3.7. For Windows, you need to have Python >= 3.8.

VF3Py can be installed using this command:

pip install vf3py

Test your installation:

$ python
>>> import vf3py.test
>>> vf3py.test.run_tests()
(...lots of output...)
OK
>>> 

Documentation

pipeline status

Available here

Other projects that use VF3Py

For now, all projects are mine:

  • algebra_repr (TODO: come up with a better name) -- uses SageMath to construct finite algebraic structures (groups, rings, fields), then represents them as graphs. Graph isomorphism allows to check if any two algebraic structures are isomorphic or not.

  • PyXYZ -- A Python Library for Molecular Geometry Manipulation. TODO: Use VF3Py to generate automorphisms groups for molecular graphs.

Links

Gitlab home page

VF3Py PyPi page

Original VF3 implementation

References

  1. Challenging the time complexity of exact subgraph isomorphism for huge and dense graphs with VF3 - Carletti V., Foggia P., Saggese A., Vento M. - IEEE transactions on pattern analysis and machine intelligence - 2018
  2. Introducing VF3: A new algorithm for subgraph isomorphism - Carletti V., Foggia P., Saggese A., Vento M. - International Workshop on Graph-Based Representations in Pattern Recognition - 2017
  3. Comparing performance of graph matching algorithms on huge graphs - Carletti V., Foggia P., Saggese A., Vento M. - Pattern Recognition Letters - 2018
  4. A Parallel Algorithm for Subgraph Isomorphism - V. Carletti, P. Foggia, P. Ritrovato, M. Vento, V. Vigilante - International Workshop on Graph-Based Representations in Pattern Recognition - 2019

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vf3py-0.0.6.tar.gz (2.2 MB view details)

Uploaded Source

File details

Details for the file vf3py-0.0.6.tar.gz.

File metadata

  • Download URL: vf3py-0.0.6.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for vf3py-0.0.6.tar.gz
Algorithm Hash digest
SHA256 ad68b029784ff7d38fbaabb3fc84e4487e57efe62749c0a9a62817f342cbe5d1
MD5 716be40a308047eda4cbe54b2f88bfcf
BLAKE2b-256 39129fca15d752767c8add6c7f6e0af48ceda28ae228ef3dbef1c962d0022e3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page