Package edu.isi.karma.modeling.alignment

Examples of edu.isi.karma.modeling.alignment.GraphBuilder


    this.nodeIdFactory = this.graphBuilder.getNodeIdFactory();
  }

  private GraphBuilder cloneGraphBuilder(GraphBuilder graphBuilder) {

    GraphBuilder clonedGraphBuilder = null;
    if (graphBuilder == null || graphBuilder.getGraph() == null) {
      clonedGraphBuilder = new GraphBuilder(this.ontologyManager, false);
    } else {
      clonedGraphBuilder = new GraphBuilder(this.ontologyManager, graphBuilder.getGraph());
    }
    this.nodeIdFactory = clonedGraphBuilder.getNodeIdFactory();
    return clonedGraphBuilder;
  }
View Full Code Here


        if (new File(graphName).exists()) {
          // read graph from file
          try {
            logger.info("loading the graph ...");
            DirectedWeightedMultigraph<Node, DefaultLink> graph = GraphUtil.importJson(graphName);
            modelLearner.graphBuilder = new GraphBuilder(ontologyManager, graph);
            modelLearner.nodeIdFactory = modelLearner.graphBuilder.getNodeIdFactory();
          } catch (Exception e) {
            e.printStackTrace();
          }
        } else
View Full Code Here

TOP

Related Classes of edu.isi.karma.modeling.alignment.GraphBuilder

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.