Package com.clarkparsia.pellint.model

Examples of com.clarkparsia.pellint.model.Severity


      }
    }

    ontologyLints.sort( new Comparator<Lint>() {
      public int compare(Lint lint0, Lint lint1) {
        Severity severity0 = lint0.getSeverity();
        Severity severity1 = lint1.getSeverity();
        if( severity0 != null && severity1 != null ) {
          return -severity0.compareTo( severity1 );
        }

        Set<OWLClass> classes0 = lint0.getParticipatingClasses();
View Full Code Here


    axiom.accept(m_Visitor);
    int disjunctionSize = m_Visitor.getDisjunctionSize();
    if (disjunctionSize > m_MaxAllowed) {
      Lint lint = makeLint();
      lint.addParticipatingAxiom(axiom);
      lint.setSeverity(new Severity(disjunctionSize));
      setLint(lint);
    }
  }
View Full Code Here

      }
     
      if (estimatedTreeSize > m_MaxTreeSize) {
        Lint lint = m_LintFactory.make();
        lint.addAllParticipatingClasses(connectedSet);
        lint.setSeverity(new Severity(estimatedTreeSize));
        m_AccumulatedLints.add(lint);
      }
    }
  }
View Full Code Here

      estimatedTreeSize *= totalInvolvedIndividuals;
     
      if (estimatedTreeSize > m_MaxTreeSize) {
        Lint lint = m_LintFactory.make();
        lint.addAllParticipatingClasses(connectedSet);
        lint.setSeverity(new Severity(estimatedTreeSize));
        m_AccumulatedLints.add(lint);
      }
    }
  }
View Full Code Here

    }

    if (estimatedTotalTreeSize > m_MaxTreeSize) {
      Lint lint = m_LintFactory.make();
      lint.addAllParticipatingClasses(participatingClasses);
      lint.setSeverity(new Severity(estimatedTotalTreeSize));
      m_AccumulatedLints.add(lint);
    }
  }
View Full Code Here

    }
   
    List<Lint> allLints = new ArrayList<Lint>();
    if (totalEstimatedMemory > estimateMemoryConcumption(m_MaxAllowed)) {
      Lint lint = new Lint(this, ontology);
      lint.setSeverity(new Severity(totalEstimatedMemory));
      allLints.add(lint)
    }
    return allLints;
  }
View Full Code Here

    axiom.accept(m_Visitor);
    int cardinalitySize = m_Visitor.getCardinalitySize();
    if (cardinalitySize > m_MaxAllowed) {
      Lint lint = makeLint();
      lint.addParticipatingAxiom(axiom);
      lint.setSeverity(new Severity(cardinalitySize));
      setLint(lint);
    }
  }
View Full Code Here

      }
    }

    ontologyLints.sort( new Comparator<Lint>() {
      public int compare(Lint lint0, Lint lint1) {
        Severity severity0 = lint0.getSeverity();
        Severity severity1 = lint1.getSeverity();
        if( severity0 != null && severity1 != null ) {
          return -severity0.compareTo( severity1 );
        }

        Set<OWLClass> classes0 = lint0.getParticipatingClasses();
View Full Code Here

    if ((participatingClasses == null || participatingClasses.isEmpty())
        && (participatingAxioms == null || participatingAxioms.isEmpty())) {
      return "";
    }

    Severity severity = lint.getSeverity();
    StringBuilder strBuilder = new StringBuilder();
    strBuilder.append(" - ");
   
    if (severity != null) {
      strBuilder.append(severity).append(' ');
View Full Code Here

TOP

Related Classes of com.clarkparsia.pellint.model.Severity

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.