procope.examples
Class DummyScores
java.lang.Object
procope.methods.scores.ScoresCalculator
procope.examples.DummyScores
- All Implemented Interfaces:
- ProteinSet
public class DummyScores
- extends ScoresCalculator
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyScores
public DummyScores(PurificationData data)
getProteins
public Set<Integer> getProteins()
- Description copied from class:
ScoresCalculator
- Returns the set of proteins involved in this scores calculator.
- Specified by:
getProteins
in interface ProteinSet
- Specified by:
getProteins
in class ScoresCalculator
- Returns:
- a set of internal IDs
getScore
public float getScore(int protein1,
int protein2)
- Description copied from class:
ScoresCalculator
- Returns the interaction score for two given proteins.
- Specified by:
getScore
in class ScoresCalculator
- Parameters:
protein1
- first proteinprotein2
- second protein
- Returns:
- interaction score of the two proteins