|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.unika.aifb.owltools.evaluation.Solution
public class Solution
A solution provided by an evaluation to a certain identified problem.
Field Summary | |
---|---|
protected java.lang.String |
description
Human-readable description of the solution |
protected double |
preference
How good is this solution deemed by the evaluation? |
protected java.util.List<org.semanticweb.kaon2.api.OntologyChangeEvent> |
solution
The ontology change events that make up the solution |
Constructor Summary | |
---|---|
Solution(java.lang.String URI,
java.util.List<org.semanticweb.kaon2.api.OntologyChangeEvent> whatToChange,
java.lang.String whatItIs,
double howGoodIsTheIdea)
Creates a solution |
Method Summary | |
---|---|
org.semanticweb.kaon2.api.Ontology |
apply(org.semanticweb.kaon2.api.Ontology ontology)
Applies this solution to an ontology |
java.lang.String |
getDescription()
A human-readable description of the solution proposal |
double |
getPreference()
The preference for this solution. |
java.util.List<org.semanticweb.kaon2.api.OntologyChangeEvent> |
getSolution()
The implementation of the solution |
java.lang.String |
getURI()
The URI for this solution |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<org.semanticweb.kaon2.api.OntologyChangeEvent> solution
protected java.lang.String description
protected double preference
Constructor Detail |
---|
public Solution(java.lang.String URI, java.util.List<org.semanticweb.kaon2.api.OntologyChangeEvent> whatToChange, java.lang.String whatItIs, double howGoodIsTheIdea)
URI
- URI for the solutionwhatToChange
- A list of ontology change events that implement the solutionwhatItIs
- Describes the solution in a human readable wayhowGoodIsTheIdea
- Sets the preference for the solution. Clipped in [0,1]Method Detail |
---|
public java.lang.String getURI()
public java.util.List<org.semanticweb.kaon2.api.OntologyChangeEvent> getSolution()
public java.lang.String getDescription()
public double getPreference()
public org.semanticweb.kaon2.api.Ontology apply(org.semanticweb.kaon2.api.Ontology ontology) throws org.semanticweb.kaon2.api.KAON2Exception
ontology
- Problematic ontology
org.semanticweb.kaon2.api.KAON2Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |