20.181:sadEvoModel: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
(No difference)

Revision as of 08:24, 4 October 2006

def evoModel_Sad(x,y,distance):

  1. returns 0.9 if x and y are the same; 0.1 if they're different,
  2. regardless of branch lengths. use this function if you
  3. can't derive the Jukes-Cantor model and would like to move
  4. on to the next portion of the assignment.

if x == y: return 0.9 return 0.1