并行模型检查与主动自动机学习技术解析
1. 并行 ATerm 库在并行模型检查中的应用
1.1 实例化图算法
在并行模型检查中,有一个重要的算法用于实例化图,以下是该算法的具体实现:
Algorithm 2. InstantiateGraph(E, Xinit(einit), R)
init := R(Xinit(einit))
todo := {init}
discovered := {init}
create an empty structure graph G
for all threads p do
create a rewriter Rp := R per thread
while not all other threads are asleep do
lock global data structures
while todo ≠ ∅ do
choose Xk(ep) ∈ todo
todo := todo \ {Xk(ep)}
unlock global data structures
ψp := Rp(ϕk[dk := ep])
lock global data structures
integrate equation σkXk(ep) = ψp in structure graph G
todo := todo ∪ (occ(ψp) \ discovered)
超级会员免费看
订阅专栏 解锁全文
53

被折叠的 条评论
为什么被折叠?



