In NetLogo Behaviour Space, how can I vary two variables in conjunction?

StackOverflow https://stackoverflow.com/questions/22762609

  •  24-06-2023
  •  | 
  •  

문제

I have two agent types. I want to vary Agent1 from 90-100 and I Agent2 from 0-10. But I want them to vary 'in step' so as Agent2 increases in number Agent 1 decreases. How can I code that in behaviour space?

Thanks

도움이 되었습니까?

해결책

Vary Agent2 from 0 to 10, and then include this in your experiment's setup commands:

set Agent1 100 - Agent2
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top