Skip to main content
. 2021 Jun 15;23(6):750. doi: 10.3390/e23060750
Algorithm 1 ILSG algorithm
input: Dataset D
Output: Optimal structure G* and its score BIC (G*)
 1: GrandomDAG(D)
 2: Glocalsearch(G)
 3: G*emptygraph(D)
 4: while (termination condition is not met) do
 5:   Gperturb(G)
 6:   Glocalsearch(G)
 7:   Gcompare(G,G)
 8:   G*compare(G,G*)
 9:   if soft restart condition is met then
10:     GrandomDAG(D)
11:   end if
12: end while
13: return G*, BIC (G*)