Package graphmatcher.matcher

Examples of graphmatcher.matcher.AbstractMatcher


        // GraphTools.transformGraph(pattern, at);

        Graph template = _inputPanel.getTemplateGraph();

        String matcherID = optionPanel.getSelectedMatcherID();
        AbstractMatcher matcher = MatcherFactory.createMatcher(matcherID, pattern, template);
        MatchingResult matchingResult = matcher.match(optionPanel.getMatchingOptions());
        _matchingPanel.setOptions(_guiOptionPanel.showMatchingEdges(), _guiOptionPanel.showIndices(),
            _guiOptionPanel.showTransformedPattern());
        _matchingPanel.setMatchingResult(matchingResult);
        resultPanel.setMatchingResult(matchingResult);
      }
View Full Code Here


        Graph template = graphList.get(j);
        if (pattern.getName().equals(template.getName())) {
          continue;
        }

        final AbstractMatcher matcher = MatcherFactory.createMatcher(options.getMatcherID(), pattern,
            template);
        Runnable matchingTask = new Runnable() {
          @Override
          public void run() {
            try {
              MatchingResult matchingResult = matcher.match(options);
              matchingResults[currentJ] = matchingResult;

              synchronized (progressBar) {
                progressBar.setValue(progressBar.getValue() + 1);
              }
View Full Code Here

TOP

Related Classes of graphmatcher.matcher.AbstractMatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.