Examples of mapOntologies()


Examples of ru.spbu.math.ontologycomparison.zhukova.logic.similarity.IOntologyComparator.mapOntologies()

            if (firstOntologyGraph[0] == null) {
                return;
            }
            this.main.log("Merging ontologies...");
            IOntologyComparator ontologyComparator = new OntologyComparator(firstOntologyGraph[0], secondOntologyGraph, this.main);
            IOntologyGraph ontologyGraph = ontologyComparator.mapOntologies().getFirst();
            int similarity = (int) (ontologyComparator.getSimilarity() * 100);
            final IGraphModelBuilder myGraphModelBuilder =
                    new GraphModelBuilder(firstOntologyGraph[0], secondOntologyGraph, ontologyGraph, similarity, this.main);
            this.main.log("Visualising ontologies...");
            GraphModel graphModel = myGraphModelBuilder.buildGraphModel(main.getGraphPane(), main.areUnmappedConceptsVisible(), main.areUnmappedConceptsWithSynsetsVisible());
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.logic.similarity.IOntologyComparator.mapOntologies()

        if (firstOntologyGraph[0] == null) {
            return null;
        }
        log("Merging ontologies...");
        IOntologyComparator ontologyComparator = new OntologyComparator(firstOntologyGraph[0], secondOntologyGraph, this);
        return ontologyComparator.mapOntologies().getFirst();
    }

    private void handleException(Throwable e1) {
        e1.printStackTrace();
    }
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.logic.similarity.impl.OntologyComparator.mapOntologies()

            if (firstOntologyGraph[0] == null) {
                return;
            }
            this.main.log("Merging ontologies...");
            IOntologyComparator ontologyComparator = new OntologyComparator(firstOntologyGraph[0], secondOntologyGraph, this.main);
            IOntologyGraph ontologyGraph = ontologyComparator.mapOntologies().getFirst();
            int similarity = (int) (ontologyComparator.getSimilarity() * 100);
            final IGraphModelBuilder myGraphModelBuilder =
                    new GraphModelBuilder(firstOntologyGraph[0], secondOntologyGraph, ontologyGraph, similarity, this.main);
            this.main.log("Visualising ontologies...");
            GraphModel graphModel = myGraphModelBuilder.buildGraphModel(main.getGraphPane(), main.areUnmappedConceptsVisible(), main.areUnmappedConceptsWithSynsetsVisible());
View Full Code Here

Examples of ru.spbu.math.ontologycomparison.zhukova.logic.similarity.impl.OntologyComparator.mapOntologies()

        if (firstOntologyGraph[0] == null) {
            return null;
        }
        log("Merging ontologies...");
        IOntologyComparator ontologyComparator = new OntologyComparator(firstOntologyGraph[0], secondOntologyGraph, this);
        return ontologyComparator.mapOntologies().getFirst();
    }

    private void handleException(Throwable e1) {
        e1.printStackTrace();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.