| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ebi.microarray.zooma.track.HypothesisRanking
public class HypothesisRanking
An object that records ranking data for hypotheses.  A HypothesisRankingTracker should re-rank
 hypotheses whenever data important to their ranking changes.
 
| Constructor Summary | |
|---|---|
| HypothesisRanking(SourceRanker sourceRanker,
                  OntologyRanker ontologyRanker) | |
| Method Summary | |
|---|---|
|  void | changed()Called whenever the ranking of hypotheses changes | 
| protected  org.slf4j.Logger | getLog() | 
| protected  OntologyRanker | getOntologyRanker() | 
|  java.util.List<OntologyMappingHypothesis> | getRankedHypotheses()Returns the list of hypotheses that have been ranked, in the order in which they rank. | 
| protected  SourceRanker | getSourceRanker() | 
|  boolean | rank(OntologyMappingHypothesis hypothesis)Rank, or rerank, the given hypothesis against all others | 
|  boolean | remove(OntologyMappingHypothesis hypothesis)Removes a previously ranked hypothesis from the rankings | 
|  void | setHypothesisRankingTracker(HypothesisRankingTracker tracker) | 
|  void | setOntologyRanker(OntologyRanker ontologyRanker) | 
|  void | setSourceRanker(SourceRanker sourceRanker) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public HypothesisRanking(SourceRanker sourceRanker,
                         OntologyRanker ontologyRanker)
| Method Detail | 
|---|
public void setSourceRanker(SourceRanker sourceRanker)
protected SourceRanker getSourceRanker()
public void setOntologyRanker(OntologyRanker ontologyRanker)
protected OntologyRanker getOntologyRanker()
public void setHypothesisRankingTracker(HypothesisRankingTracker tracker)
protected org.slf4j.Logger getLog()
public boolean rank(OntologyMappingHypothesis hypothesis)
hypothesis - the hypothesis to rank
public boolean remove(OntologyMappingHypothesis hypothesis)
hypothesis - the hypothesis to remove
public java.util.List<OntologyMappingHypothesis> getRankedHypotheses()
public void changed()
changed in interface Information| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||