Skip to main content
. 2015 Sep 30;10(9):e0139000. doi: 10.1371/journal.pone.0139000

Table 5. RME graph successor prediction (SUCC).

Input: Sequence s, RME prme, a collection of references REF = {ref 1,…, ref m}, and a RME graph rmeg = 〈V, E
Output: RME candidate
1: Let candidate = (0,0,0,0)
2: for (prme,(i, pos), rme) ∈ E do
3: if rme matches s then
4:   Set candidate = rme
5: end if
6: end for