Skip to content
DavidLeoni edited this page Mar 1, 2017 · 3 revisions

Getting started

S-Match is written in Java and runs in a Java Virtual Machine version 6 or later. You can get started by downloading S-Match release, building S-Match binary release, or by downloading S-Match examples.

Command line

You can run S-Match command-line interface: bin/match-manager or bin\match-manager.bat.

You can run the matching of provided sample trees by running bin\all-cw.bat or bin/all-cw.sh. This will execute the following steps:

  1. convert sample trees in test-data/cw/c.txt and test-data/cw/w.txt from text files to internal XML format.
  2. enrich the trees with logical formulas ("offline" steps of the algorithm)
  3. match the trees ("online" steps of the algorithm)
  4. match the trees with the minimal matching algorithm

The script will render the results of the

  • step c) into: test-data/cw/result-cw.txt
  • step d) into: test-data/cw/result-minimal-cw.txt

GUI

Run bin\s-match-gui.bat or bin/s-match-gui.

Examples

S-Match Examples demonstrates the use of S-Match API.

Documentation

S-Match is accompanied by S-Match Javadocs and S-Match Wiki.

Clone this wiki locally