HybridGenePatternMining(): 1)
= dSetPatternMining(
) 2) foreach
3) twinPatternMining(
) endforeach
dSetPatternMining(
): // Compute
-tuples from
different genomes. 1)
; 2) Compute
for
. 3) Let
be a set of
-tuples, {
} 4)
; 5)
; 6) while (
) // Level
enumeration 7)
; 8) foreach
9)
10) foreach (
and
such that
for
) 11)
![]()
Compute_
; endforeach 12) if (
)
; 13) if (
)
; endforeach 14)
; endwhile 15) return
;
Compute_
// Compute
-tuples by adding a run form
to
. 1) Let
2) foreach
3)
ComputeMdsetMatch(
) endforeach 4) return
![]()
ComputeMdsetMatch(
) // Compute
1) if (
) return {
)}; // Each run
will be iteratively dset-matched 2)
= dSetMatch(
) 3) for
to
do 4) foreach ((
)
) 5)
= ComputeMdsetMatch(
); endforeach endfor 6) return
![]()
dSetMatch(
) // Compute
1) if (
or
) return
2) if (
) return
3) if (
) 4) Split
into
by breaking where
and
; 5) Remove
from
if
; else 6)
; endif 7)
; 8) foreach
9)
dSetMatch(
); endforeach 10) return
;