Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

PrefixSpan cannot find certain patterns #1

Open
gandreadis opened this issue Jun 27, 2018 · 0 comments
Open

PrefixSpan cannot find certain patterns #1

gandreadis opened this issue Jun 27, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@gandreadis
Copy link
Member

Moved from cafejojo/schaapi#78

Currently Prefix-Span won't generate all possible sub-sequences of a pattern, which means that it is not a correct implementation of the algorithm as put forward by Pei et al.

To illustrate, say we have as output sequence [node1, node2, node3, node4, node5]. In addition to the sequence itself, Prefix-Span will find all sub-sequences except:

  • [node2, node3, node4, node5]
  • [node2, node3, node4]
  • [node3, node4, node5]

It will find entire sequences, but not all sub-sequences. So at the moment, it is sufficient to generate test cases. However this should eventually be fixed as it is not a proper implementation of the algorithm, and does not function as it should/how we expect it to.

@gandreadis gandreadis added the bug Something isn't working label Jun 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant