Closed cgoliver closed 5 years ago
As said in the README:
graph-matching-toolkit
cd src && git clone https://github.com/yunshengb/graph-matching-toolkit.git
java
Please let us know if you have any questions. Thanks!
Hello, thanks for your quick reply!
Yeah I'm not sure I know how to follow the instructionUnzip the archive Sources.zip, integrate the whole framework in an IDE (e.g. Eclipse) and build the project.
First, there is no Sources.zip
file. I'm assuming it's just the whole repo.
Opening the repo on Eclipse and running Project > Build Project results in the same errors:
I assume I'm missing the 'integration' step but not sure what is meant by that.
Sorry my java is not very advanced.
Thanks again! Carlos
Hi Carlos,
No worries! We will help you out.
You can ignore some of the errors, since not all of these java files are needed to run the GED algorithms. You only need to make sure that src/algorithms/GraphMatching.java
compiles fine. You can check it by:
Run Connfigurations
Java Application
Main class
as algorithms.GraphMatching
Arguments
TabProgram arguments
to <your_own_path>/GraphEmbedding/src/graph-matching-toolkit_copy/properties/<select_one_from_properties>.prop
Run
You should see something like this:
--- GMT - v-1.1.0 - 05/10/2017 ---
Init from properties...
Matching...
0/1 (7vs5)
Enter loop count 2802
Printing the results...
Done!
The exact message depends on the property file and input graphs you selected. Check out this for detailed instructions on the meaning of the property file.
The result is saved under /result
.
Please let us know if you encounter any problem. Thanks!
Yunsheng
Ah yes I suspected some files would not be needed. Thanks Yunsheng! Carlos
Hi Carlos,
No worries! We will help you out.
You can ignore some of the errors, since not all of these java files are needed to run the GED algorithms. You only need to make sure that
src/algorithms/GraphMatching.java
compiles fine. You can check it by:
- Click
Run Connfigurations
- Create a new
Java Application
- Specify
Main class
asalgorithms.GraphMatching
- Go to the
Arguments
Tab- Set
Program arguments
to<your_own_path>/GraphEmbedding/src/graph-matching-toolkit_copy/properties/<select_one_from_properties>.prop
- Click
Run
You should see something like this:
--- GMT - v-1.1.0 - 05/10/2017 --- Init from properties... Matching... 0/1 (7vs5) Enter loop count 2802 Printing the results... Done!
The exact message depends on the property file and input graphs you selected. Check out this for detailed instructions on the meaning of the property file.
The result is saved under
/result
.Please let us know if you encounter any problem. Thanks!
Yunsheng
Hi I ran the GrapgMatching.java as the following steps, and it worked OK. But the output printed was not true, it contained many 0, like this: The similarity matrix exp(-d)
0.00000 0.00469 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 7 10 -1.0
Hello,
I'm running into problems when building the graph-matching-toolkit. It appears some classes are missing when I try to compile using
ant
. Wondering if you ran into similar problems for this project. Posted an issue on the original repo but I am not sure it is monitored closely anymore.The missing classes don't appear to be part of the repo..
Thanks!