test_class.declarator: similarity
test_class.modifier: private
test_class.original_string: private PairwiseResnikSimilarity similarity;
test_class.type: PairwiseResnikSimilarity
test_class.var_name: similarity
test_class.file: phenol-core/src/test/java/org/monarchinitiative/phenol/ontology/similarity/PairwiseResnikSimilarityTest.java
test_class.identifier: PairwiseResnikSimilarityTest
test_class.superclass: extends VegetableOntologyTestBase
test_case.body: @Test
    public void testComputeSimilarities() {
      assertEquals(0.0, similarity.computeScore(idBeet, idCarrot), 0.01);
      assertEquals(0.405, similarity.computeScore(idBlueCarrot, idCarrot), 0.01);
      assertEquals(0.0, similarity.computeScore(idPumpkin, idCarrot), 0.01);
      assertEquals(0.0, similarity.computeScore(idLeafVegetable, idCarrot), 0.01);
    }
test_case.class_method_signature: PairwiseResnikSimilarityTest.testComputeSimilarities()
test_case.full_signature: @Test public void testComputeSimilarities()
test_case.identifier: testComputeSimilarities
test_case.invocations: assertEquals computeScore assertEquals computeScore assertEquals computeScore assertEquals computeScore
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testComputeSimilarities()
focal_class.declarator: ontology
focal_class.modifier: private final
focal_class.original_string: private final Ontology ontology;
focal_class.type: Ontology
focal_class.var_name: ontology
focal_class.declarator: termToIc
focal_class.modifier: private final
focal_class.original_string: private final Map<TermId, Double> termToIc;
focal_class.type: Map<TermId, Double>
focal_class.var_name: termToIc
focal_class.file: phenol-core/src/main/java/org/monarchinitiative/phenol/ontology/similarity/PairwiseResnikSimilarity.java
focal_class.identifier: PairwiseResnikSimilarity
focal_class.interfaces: implements PairwiseSimilarity
focal_class.class_method_signature: PairwiseResnikSimilarity.PairwiseResnikSimilarity()
focal_class.full_signature: protected  PairwiseResnikSimilarity()
focal_class.identifier: PairwiseResnikSimilarity
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  PairwiseResnikSimilarity()
focal_class.class_method_signature: PairwiseResnikSimilarity.PairwiseResnikSimilarity(Ontology ontology, Map<TermId, Double> termToIc)
focal_class.full_signature: public  PairwiseResnikSimilarity(Ontology ontology, Map<TermId, Double> termToIc)
focal_class.identifier: PairwiseResnikSimilarity
focal_class.modifiers: public
focal_class.parameters: (Ontology ontology, Map<TermId, Double> termToIc)
focal_class.signature:  PairwiseResnikSimilarity(Ontology ontology, Map<TermId, Double> termToIc)
focal_class.class_method_signature: PairwiseResnikSimilarity.computeScoreImpl(TermId query, TermId target)
focal_class.full_signature: private double computeScoreImpl(TermId query, TermId target)
focal_class.identifier: computeScoreImpl
focal_class.modifiers: private
focal_class.parameters: (TermId query, TermId target)
focal_class.return: double
focal_class.signature: double computeScoreImpl(TermId query, TermId target)
focal_class.class_method_signature: PairwiseResnikSimilarity.computeScore(TermId query, TermId target)
focal_class.full_signature: @Override public double computeScore(TermId query, TermId target)
focal_class.identifier: computeScore
focal_class.modifiers: @Override public
focal_class.parameters: (TermId query, TermId target)
focal_class.return: double
focal_class.signature: double computeScore(TermId query, TermId target)
focal_class.class_method_signature: PairwiseResnikSimilarity.getOntology()
focal_class.full_signature: public Ontology getOntology()
focal_class.identifier: getOntology
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Ontology
focal_class.signature: Ontology getOntology()
focal_class.class_method_signature: PairwiseResnikSimilarity.getTermToIc()
focal_class.full_signature: public Map<TermId, Double> getTermToIc()
focal_class.identifier: getTermToIc
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<TermId, Double>
focal_class.signature: Map<TermId, Double> getTermToIc()
focal_method.body: @Override
    public double computeScore(TermId query, TermId target) {
      return computeScoreImpl(query, target);
    }
focal_method.class_method_signature: PairwiseResnikSimilarity.computeScore(TermId query, TermId target)
focal_method.full_signature: @Override public double computeScore(TermId query, TermId target)
focal_method.identifier: computeScore
focal_method.invocations: computeScoreImpl
focal_method.modifiers: @Override public
focal_method.parameters: (TermId query, TermId target)
focal_method.return: double
focal_method.signature: double computeScore(TermId query, TermId target)