Skip to main content
. 2016 Jun 28;4:e2172. doi: 10.7717/peerj.2172

Algorithm 3. Function for randomization step of the GSCM.

1: function pickRandomTreePair (trees ST1,T2,,Tk)
2: Randomly pick a pair of trees Ti,TjS with probability
PTi,Tj=scoreTi,TjTa,TbS,abscoreTa,Tb,ij
3: return Ti, Tj
4: end function