Skip to main content
. Author manuscript; available in PMC: 2020 Nov 20.
Published in final edited form as: IEEE Trans Knowl Data Eng. 2018 Jan 15;30(8):1411–1425. doi: 10.1109/tkde.2018.2793862

Algorithm 6.

DFG Algorithm

Input:
Graph database D; Threshold θ; Privacy budgets ϵ1, ϵ2 and ϵ3 (ϵ1 + ϵ2 + ϵ3 = ϵ);
Output:
A set F of frequent subgraphs together with their noisy supports;
  1: ζ ← get the maximum support of subgraphs with different sizes; \\ this step can be done offline
  2: Mg ← get the maximum frequent subgraph size based on ζ using ϵ1;
  3: F ← frequent_subgraph_identification(D, θ, ϵ2, Mg);
  4: lattice-based_noisy_support_computation(F, ϵ3);
  5: return F;