0
특정 링크의 유형을 너무 비활성으로 변경하려면 다음 오류를 나타내는 다음 코드를 사용하려고합니다. 당신이하고있는 당신의 사람이링크 종류를 변경하려면 어떻게해야합니까?
directed-link-breed [active-links active-link]
directed-link-breed [inactive-links inactive-link]
to link-network
ask nodes
[
create-active-links-to other nodes
[
let num-links count links
let link-freq round (num-links * link-chance/100)
ask n-of link-freq links
[
set breed inactive-links
hide-link
]
]
]
layout
end
to layout
repeat 10 [layout-spring nodes links 0.2 5 0.1 ]
display
end
Error: There is already a INACTIVE-LINK with endpoints node 75 and node 28 error while inactive-link 75 28 running SET called by procedure LINK-NETWORK
called by procedure SETUP-NODES
called by procedure SETUP
called by Button 'setup'
설치 노드 절차 코드를 게시 할 수 있습니까? 그러면 실제 문제를 발견 할 수있는 힌트를 얻을 수 있습니다. –