edu.rit.compbio.phyl
Interface Distance

All Known Implementing Classes:
HammingDistance, JukesCantorDistance

public interface Distance

Interface Distance specifies the interface for an object that computes the distance between two DnaSequences.


Method Summary
 double distance(DnaSequence seq1, DnaSequence seq2)
          Compute the distance between the two given DNA sequences.
 

Method Detail

distance

double distance(DnaSequence seq1,
                DnaSequence seq2)
Compute the distance between the two given DNA sequences. It is assumed that the DNA sequences are the same length.

Parameters:
seq1 - First DNA sequence.
seq2 - Second DNA sequence.
Returns:
Distance.


Copyright © 2005-2012 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.