11.11.2014 Views

Izvedba algoritama sufiksnog stabla u funkcijskome ... - Zemris - FER

Izvedba algoritama sufiksnog stabla u funkcijskome ... - Zemris - FER

Izvedba algoritama sufiksnog stabla u funkcijskome ... - Zemris - FER

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

addLinks :: (Eq a) => Text a -> STree -> STreeL<br />

addLinks t (Branch es) = rootL<br />

where rootL = BranchL [((p,q),link (down t rootL (p+1,q)) node) |<br />

((p,q),node) STreeL -> Suffix-> STreeL<br />

down t node@(BranchL es _) (p1,q1)<br />

| p1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!