methods.scores
Interface ScoresCalculator

All Superinterfaces:
ProteinSet
All Known Subinterfaces:
FunctionalSimilarities
All Known Implementing Classes:
FunctionalSimilaritiesSchlicker, HartCalculator, PECalculator, SocioAffinityCalculator

public interface ScoresCalculator
extends ProteinSet

Implemented by all classes which calculate interaction scores between proteins based on experimental or other data.

Author:
Jan Krumsiek

Method Summary
 Set<Integer> getProteins()
          Returns the set of proteins involved in this scores calculator.
 float getScore(int protein1, int protein2)
          Returns the interaction score for two given proteins.
 

Method Detail

getScore

float getScore(int protein1,
               int protein2)
Returns the interaction score for two given proteins.

Parameters:
protein1 - first protein
protein2 - second protein
Returns:
interaction score of the two proteins

getProteins

Set<Integer> getProteins()
Returns the set of proteins involved in this scores calculator.

Specified by:
getProteins in interface ProteinSet
Returns:
a set of internal IDs