|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.ebi.microarray.zooma.track.HypothesisRankingTracker
public class HypothesisRankingTracker
A system for scoring OntologyMappingHypothesis
objects are determining which are candidates for acception, rejection,
deferment or prioritisation. This system implements InformationTracker
to follow the mediator
pattern, describing the dependencies between objects. In this system,
mapping hypotheses are the core component, but scores can be attributed to
contexts and ontologies. These scores enable the system to refine the
ordering of the comparison priority queue
Constructor Summary | |
---|---|
HypothesisRankingTracker()
|
|
HypothesisRankingTracker(SourceRanker sourceRanker,
OntologyRanker ontologyRanker)
|
Method Summary | |
---|---|
void |
clearHypotheses()
Clears the current set of tracked hypotheses. |
java.util.Collection<OntologyMappingHypothesis> |
getBestHypotheses()
Returns the collection of OntologyMappingHypothesis
objects that are known to be the best possible hypotheses given the current
state of assessment. |
java.util.Collection<OntologyMappingHypothesis> |
getCandidateAlternativeHypotheses()
Returns the collection of possible alternatives to the current null hypothesis. |
OntologyMappingHypothesis |
getCurrentNullHypothesis()
Returns the OntologyMappingHypothesis
that is designated as the current null (or current accepted) hypothesis. |
void |
informationChanged(Information information)
Called by Information objects
acting as "mediator clients" whenever the information they encapsulate
changes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HypothesisRankingTracker()
public HypothesisRankingTracker(SourceRanker sourceRanker, OntologyRanker ontologyRanker)
Method Detail |
---|
public OntologyMappingHypothesis getCurrentNullHypothesis()
HypothesisTracker
OntologyMappingHypothesis
that is designated as the current null (or current accepted) hypothesis.
This will change whenever a hypothesis different to this one is accepted.
getCurrentNullHypothesis
in interface HypothesisTracker
public java.util.Collection<OntologyMappingHypothesis> getCandidateAlternativeHypotheses()
HypothesisTracker
getCandidateAlternativeHypotheses
in interface HypothesisTracker
public java.util.Collection<OntologyMappingHypothesis> getBestHypotheses()
HypothesisTracker
OntologyMappingHypothesis
objects that are known to be the best possible hypotheses given the current
state of assessment. Before any hypothesis testing has been carried out,
this will be all known hypotheses: there isn't enough information to throw
any away. Assuming every hypothesis has been tested at least once, this
will return the set of the current null hypothesis, plus any hypotheses
that have not been rejected against the current null.
getBestHypotheses
in interface HypothesisTracker
public void clearHypotheses()
HypothesisTracker
clearHypotheses
in interface HypothesisTracker
public void informationChanged(Information information)
InformationTracker
Information
objects
acting as "mediator clients" whenever the information they encapsulate
changes. Implementations of this interface can then define how the new
information is used to update other dependent objects.
informationChanged
in interface InformationTracker
information
- a reference to the information object that has changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |