Package org.forester.surfacing
Class BasicDomainSimilarityCalculator
java.lang.Object
org.forester.surfacing.BasicDomainSimilarityCalculator
- All Implemented Interfaces:
DomainSimilarityCalculator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forester.surfacing.DomainSimilarityCalculator
DomainSimilarityCalculator.Detailedness, DomainSimilarityCalculator.GoAnnotationOutput
-
Constructor Summary
ConstructorDescriptionBasicDomainSimilarityCalculator
(DomainSimilarity.DomainSimilaritySortField sort, boolean sort_by_species_count_first, boolean treat_as_binary_comparison, boolean calc_similarity_score) BasicDomainSimilarityCalculator
(DomainSimilarity.DomainSimilaritySortField sort, boolean sort_by_species_count_first, boolean treat_as_binary_comparison, boolean calc_similarity_score, boolean verbose) -
Method Summary
Modifier and TypeMethodDescriptioncalculateSimilarities
(PairwiseDomainSimilarityCalculator pairwise_calculator, List<GenomeWideCombinableDomains> cdc_list, boolean ignore_domains_without_combinations_in_any_genome, boolean ignore_domains_specific_to_one_genome) boolean
-
Constructor Details
-
BasicDomainSimilarityCalculator
public BasicDomainSimilarityCalculator(DomainSimilarity.DomainSimilaritySortField sort, boolean sort_by_species_count_first, boolean treat_as_binary_comparison, boolean calc_similarity_score, boolean verbose) -
BasicDomainSimilarityCalculator
public BasicDomainSimilarityCalculator(DomainSimilarity.DomainSimilaritySortField sort, boolean sort_by_species_count_first, boolean treat_as_binary_comparison, boolean calc_similarity_score)
-
-
Method Details
-
calculateSimilarities
public SortedSet<DomainSimilarity> calculateSimilarities(PairwiseDomainSimilarityCalculator pairwise_calculator, List<GenomeWideCombinableDomains> cdc_list, boolean ignore_domains_without_combinations_in_any_genome, boolean ignore_domains_specific_to_one_genome) - Specified by:
calculateSimilarities
in interfaceDomainSimilarityCalculator
-
isCalcSimilarityScore
public boolean isCalcSimilarityScore()
-