Package ru.spbu.math.ontologycomparison.zhukova.logic.similarity.mappers.impl

Examples of ru.spbu.math.ontologycomparison.zhukova.logic.similarity.mappers.impl.OntologyPropertyMapper


    public Collection<IOntologyProperty> mapProperties(Collection<IOntologyConcept> mappedConcepts) {
        Collection<IOntologyProperty> firstProperties = new HashSet<IOntologyProperty>(this.firstGraph.getProperties());
        Collection<IOntologyProperty> secondProperties = new HashSet<IOntologyProperty>(this.secondGraph.getProperties());
        int secondPropertiesSize = secondProperties.size();
        Collection<IOntologyProperty> result = (new OntologyPropertyMapper(firstProperties, secondProperties,
                this.firstGraph, this.secondGraph, mappedConcepts, logger)).map();
        this.propertyIntersectionSize = secondPropertiesSize - secondProperties.size();
        this.propertyUnionSize = result.size();
        return result;
    }
View Full Code Here

TOP

Related Classes of ru.spbu.math.ontologycomparison.zhukova.logic.similarity.mappers.impl.OntologyPropertyMapper

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.