Research Article

Automatic Emergence Detection in Complex Systems

Algorithm 2

BKB learning algorithm.
() For ratio in 0.01 : 1 by 0.01
()  Create a random acyclic graph with density , set
()  For in 1 : 1000
()   , ,
()    For head in
()     For tail in head
()      Edge , Edge
()      If , then , and
()      Else if , then : remove , and
()      Else , and
()      End if
(2)      For in 1 : 2
()       If ; then
()        compute
()        If ; then
()         , and
()        End if
()       End if
()      End for
()     End for
()    End for
()    If ; then
()     a local maximum is found,
()     break
()    End if
()  End for
()  If ; then
()   
()  End if
() End for