public class ConvoyDetector extends java.lang.Object implements SingleDetector
A convoy is a pattern when a set of transactions are together across consecutive, incremental times.
Constructor and Description |
---|
ConvoyDetector(int minTime)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<Pattern> |
detect(DataBase dataBase,
Itemset itemset)
Detects all the
Convoy |
java.lang.String |
toString()
|
public java.util.ArrayList<Pattern> detect(DataBase dataBase, Itemset itemset)
Convoy
detect
in
interface SingleDetector
dataBase
- data binderitemset
- the itemset to iteratepublic java.lang.String toString()
toString
in class java.lang.Object