uk.ac.ebi.microarray.zooma.calc
Class OntologyRanker

java.lang.Object
  extended by uk.ac.ebi.microarray.zooma.calc.OntologyRanker

public class OntologyRanker
extends java.lang.Object

A class containing hypothesis ranking logic, based on a configurable list of ontologies.

Author:
Tony Burdett

Constructor Summary
OntologyRanker(java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>> ontologyNameRankings)
           
OntologyRanker(java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>> ontologyNameRankings, java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>> rejectOntologyNames)
           
 
Method Summary
protected  org.slf4j.Logger getLog()
           
 boolean ontologyRanksHigher(OntologyMappingHypothesis alternativeHypothesis, OntologyMappingHypothesis nullHypothesis)
           
 boolean ontologyRanksLower(OntologyMappingHypothesis alternativeHypothesis, OntologyMappingHypothesis nullHypothesis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologyRanker

public OntologyRanker(java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>> ontologyNameRankings)

OntologyRanker

public OntologyRanker(java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>> ontologyNameRankings,
                      java.util.LinkedHashMap<java.lang.String,java.util.List<java.lang.String>> rejectOntologyNames)
Method Detail

getLog

protected org.slf4j.Logger getLog()

ontologyRanksLower

public boolean ontologyRanksLower(OntologyMappingHypothesis alternativeHypothesis,
                                  OntologyMappingHypothesis nullHypothesis)

ontologyRanksHigher

public boolean ontologyRanksHigher(OntologyMappingHypothesis alternativeHypothesis,
                                   OntologyMappingHypothesis nullHypothesis)


Copyright © 2010. All Rights Reserved.