|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unika.aifb.owltools.evaluation.Problem
public class Problem
A problem that is identified by an ontology evaluation
Field Summary | |
---|---|
protected java.lang.String |
description
Human-readable description of the problem. |
protected org.semanticweb.kaon2.api.Ontology |
problematicPart
The part of the ontology that includes the problem. |
protected double |
severity
How bad is the problem (in [0, 1] |
protected java.util.Map<java.lang.String,Solution> |
solutions
A number of possible solutions. |
Constructor Summary | |
---|---|
Problem(java.lang.String URI,
org.semanticweb.kaon2.api.Ontology whichPartIsWrong,
java.lang.String whatIsWrong,
java.util.Map<java.lang.String,Solution> possibleSolutions,
double howBadIsIt)
Creates a Problem |
Method Summary | |
---|---|
Solution |
getBestSolution()
Returns the solution that is rated best by the evaluation. |
java.lang.String |
getDescription()
Human readable description of the problem |
org.semanticweb.kaon2.api.Ontology |
getProblematicPart()
Which part of the ontology is problematic? |
double |
getSeverity()
How bad is the problem? |
java.util.Map<java.lang.String,Solution> |
getSolutionMap()
Returns possible solutions to the problem. |
java.util.Collection<Solution> |
getSolutions()
Returns possible solutions to the problem. |
java.lang.String |
getURI()
The URI of the problem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.semanticweb.kaon2.api.Ontology problematicPart
protected java.lang.String description
protected java.util.Map<java.lang.String,Solution> solutions
protected double severity
Constructor Detail |
---|
public Problem(java.lang.String URI, org.semanticweb.kaon2.api.Ontology whichPartIsWrong, java.lang.String whatIsWrong, java.util.Map<java.lang.String,Solution> possibleSolutions, double howBadIsIt)
URI
- the URI of the problem.whichPartIsWrong
- The part of the ontology that has the problem.whatIsWrong
- Description of the problem.possibleSolutions
- Possible solutions to the problem.howBadIsIt
- The severity of the problem, clipped to [0,1].Method Detail |
---|
public java.lang.String getURI()
public org.semanticweb.kaon2.api.Ontology getProblematicPart()
public java.lang.String getDescription()
public double getSeverity()
public java.util.Map<java.lang.String,Solution> getSolutionMap()
public java.util.Collection<Solution> getSolutions()
public Solution getBestSolution()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |