Giter Club home page Giter Club logo

exp-checkged's Introduction

exp-checkGED

CircleCI Release LICENSE

exp-checkGED is a tool to validate GEDs or GFDs. GED or GFD is a structure consisting with a graph pattern and a relation between X and Y, which is X->Y, each of them is a set of literals. Note: While graph isomorphism is NP-Complete, the efficiency of validation in large graph with high repetition rate of label is costly.

Remap graph and GEDs

Remap graphs and GEDs (or GFDs) because continous vertices with ids starting from zero are necessary.

Command:

$./script/remap.sh $GRAPH_FILE_PATH $GED_FILE_PATH

Please use absolute path.

Preparations:

  • $GRAPH_FILE_PATH contains vertex file and edge file. g.v and g.e are necessary in this path. e.g.
$GRAPH_FILE_PATH=~/data/g
  • $GED_FILE_PATH contains GEDs (or GFDs) file. g.ged is necessary in this path. e.g.
$GED_FILE_PATH=~/data/g.ged

Result:

It produces g.remap.v, g.remap.e, g.ged.remap.

  • g.remap.*: mappings of original graph, whose ids are started from 0 and continous.

  • g.ged.remap: mappings of original GEDs, whose ids are started frome 0 and continous.

Validate GEDs

Check whether GEDs(or GFDs) are correct mainly using graph isomorphism algorithm vf2.

Command:

$./script/run.sh $GRAPH_FILE_PATH $GED_FILE_PATH

Please use absolute path and remap files.

Preparations:

  • $GRAPH_FILE_PATH contains vertex file and edge file. g.remap.v and g.remap.e are necessary in this path. e.g.
$GRAPH_FILE_PATH=~/data/g.remap
  • $GED_FILE_PATH contains GEDs (or GFDs) file. g.ged.remap is necessary in this path. e.g.
$GED_FILE_PATH=~/data/g.ged.remap

Result:

It produces g.ged.remap.log, g.ged.remap.map and g.ged.remap.vali.

  • g.ged.remap.log: validation-GEDs running log.

  • g.ged.remap.map: mappings between GED's pattern and graph, which uses algorithm vf2.

  • g.ged.remap.vali: result file containing correct GEDs.

exp-checkged's People

Contributors

chengyangliu avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.