Package owlsmx.data

Examples of owlsmx.data.ExtendedServiceInformation


                serviceIterator = services.iterator();
                while(serviceIterator.hasNext()) {
                    info = (ServiceInformation) serviceIterator.next();
                    try {
                        if (useSyntacticFilter())
                            result.add(new ExtendedServiceInformation(info, degreeOfMatch, reason.unfoldTerm(clazz)));
                        else {
                            //purely semantic matching doesn't need the unfolded concept
                            result.add(new ExtendedServiceInformation(info, degreeOfMatch, ""));                           
                        }
                    }
                    catch(Exception e) {
                        e.printStackTrace();
                    }
View Full Code Here


     * @return
     */
    private Map addEmptyInputs(Map inputCandidates) {
        Map ServicesWithoutInput=registry.getAllServicesWithoutInput();
        Map.Entry me;
        ExtendedServiceInformation exInfo;
        Iterator iter = ServicesWithoutInput.entrySet().iterator();
        while (iter.hasNext()) {
            me = (Map.Entry) iter.next();
            exInfo = (ExtendedServiceInformation)me.getValue();
            inputCandidates.put((Integer)me.getKey(),new ExtendedServiceInformation(exInfo.serviceID, true, exInfo.conceptID, exInfo.noConcepts, SimilarityMatchmaker.EXACT, 0.0));
        }
        return inputCandidates;
    }
View Full Code Here

     * @param inputCandidates
     * @return
     */
    private SortedSet inputCandidatesToResult(Map inputCandidates){       
        SortedSet result = new TreeSet();  
        ExtendedServiceInformation inInfo;       
        Map.Entry me;
        Iterator iter = inputCandidates.entrySet().iterator();
        while (iter.hasNext()) {
            me = (Map.Entry) iter.next();
            inInfo=(ExtendedServiceInformation) me.getValue();
View Full Code Here

      
        SortedSet result = new TreeSet();       
        Map.Entry me;
        Integer ID;

        ExtendedServiceInformation inInfo,outInfo;
        DOM degree;
        Iterator iter = input.entrySet().iterator();
        while (iter.hasNext()) {
            me = (Map.Entry) iter.next();
            ID = (Integer)me.getKey();
View Full Code Here

TOP

Related Classes of owlsmx.data.ExtendedServiceInformation

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.