Algorithm 1.
Frequent Temporal Pattern Mining Algorithm
1: | procedure frequent_temporal_pattern_mining() | |
2: | Initialize | ▷ An empty set to record associated with temporal networks. |
3: | for do | |
4: | Initialize with empty vertex and edge sets | |
5: | for do | |
6: | Add a vertex to corresponding to | |
7: | Label in with the endpoints’ and edge’s labels and duration of | |
8: | Identify other overlapping edges in read prior to and with vertices in common with and with vertices in common with | |
9: | Connect corresponding vertices in to with directed edges | |
10: | Label the connections with their starting points’ differences in | |
11: | Append to | |
12: | frequent_temporal_patterns = PATTERN_MINING() | |
13: | Return frequent_temporal_patterns |