Browse Source

Re structuration of project

v0.1
Benoit GAUZERE 7 years ago
parent
commit
eda860455d
14 changed files with 1219 additions and 175 deletions
  1. +1185
    -0
      notebooks/py-graph_test.ipynb
  2. +0
    -175
      notebooks/test_lib.ipynb
  3. +0
    -0
      pygraph/README.md
  4. +28
    -0
      pygraph/__init__.py
  5. +0
    -0
      pygraph/c_ext/Makefile
  6. +6
    -0
      pygraph/c_ext/README.md
  7. +0
    -0
      pygraph/c_ext/lsap.cpp
  8. +0
    -0
      pygraph/c_ext/lsape_binders.py
  9. +0
    -0
      pygraph/ged/GED.py
  10. +0
    -0
      pygraph/ged/bipartiteGED.py
  11. +0
    -0
      pygraph/ged/costfunctions.py
  12. +0
    -0
      pygraph/kernels/.gitignore
  13. +0
    -0
      pygraph/utils/graphfiles.py
  14. +0
    -0
      pygraph/utils/utils.py

+ 1185
- 0
notebooks/py-graph_test.ipynb
File diff suppressed because it is too large
View File


+ 0
- 175
notebooks/test_lib.ipynb
File diff suppressed because it is too large
View File


README.md → pygraph/README.md View File


+ 28
- 0
pygraph/__init__.py View File

@@ -0,0 +1,28 @@
# -*-coding:utf-8 -*-

"""
Pygraph

This package contains 4 sub packages :
* c_ext : binders to C++ code
* ged : allows to compute graph edit distance between networkX graphs
* kernels : computation of graph kernels, ie graph similarity measure compatible with SVM
* notebooks : examples of code using this library
* utils : Diverse computation on graphs
je vous passe le blabla
"""
# info
__version__ = "0.1"
__author__ = "Benoit Gaüzère"
__date__ = "November 2017"
# import sub modules
from c_ext import lsape_binders
from ged import bipartiteGED
from ged import costfunctions
from ged import GED
from utils import graphfiles
from utils import utils

c_ext/Makefile → pygraph/c_ext/Makefile View File


+ 6
- 0
pygraph/c_ext/README.md View File

@@ -0,0 +1,6 @@
Python wrapper for lsape method

Specify your LSAPE_DIR env variable with the location of the source
code to compile

source code : https://bougleux.users.greyc.fr/lsape/

c_ext/lsap.cpp → pygraph/c_ext/lsap.cpp View File


c_ext/lsape_binders.py → pygraph/c_ext/lsape_binders.py View File


ged/GED.py → pygraph/ged/GED.py View File


ged/bipartiteGED.py → pygraph/ged/bipartiteGED.py View File


ged/costfunctions.py → pygraph/ged/costfunctions.py View File


kernels/.gitignore → pygraph/kernels/.gitignore View File


utils/graphfiles.py → pygraph/utils/graphfiles.py View File


utils/utils.py → pygraph/utils/utils.py View File


Loading…
Cancel
Save