“…Frequent patterns play a critical role in many data mining tasks as they can be used among other to derive association rules [1], act as composite features for classification algorithms [14,56,63,51,22,50,15], cluster the (graph) transactions [1,48,35,36,49,24], and help in determining the similarity between graphs [54,23,42,59,9,49,13,60,66]. Within the context of graphs, the most widely used definition of a pattern is that of a connected subgraph [8,68,32,29,69,30,44] and is the definition that we will use in this paper.…”