These are chat archives for drvinceknight/agent-based-learn

23rd
Jun 2015
cesaresparza
@cesaresparza
Jun 23 2015 00:08
@drvinceknight is it possible to meet tomorrow evening, around 16:00? I do not think I will finish tonight.
tomorrow(Tuesday)
cesaresparza
@cesaresparza
Jun 23 2015 00:13
which is Today, just a little confusion.
Vince Knight
@drvinceknight
Jun 23 2015 05:48
No problem, we'll meet when you're ready. I've got meetings this afternoon but I'll be in touch when I'm done.
cesaresparza
@cesaresparza
Jun 23 2015 11:32
ok, thank you
cesaresparza
@cesaresparza
Jun 23 2015 12:19
hello, @drvinceknight and @geraintpalmer . Is there any particular to do a test on an arguments that contain a while or for loop?
Geraint Palmer
@geraintpalmer
Jun 23 2015 12:29
I usually check what the final outcome of the loop is.
cesaresparza
@cesaresparza
Jun 23 2015 12:32
thank you, @geraintpalmer
cesaresparza
@cesaresparza
Jun 23 2015 18:13
hi, I have a doubt... in the Abm simulation, when using the killing/reproduce_one_agent_with_given_utility.
cesaresparza
@cesaresparza
Jun 23 2015 18:24
the first line is number_of_agents = len(agents). I haven't been able to identify where it comes from. Is it that the while loop is building the list and assigning each agent k the utility?
Vince Knight
@drvinceknight
Jun 23 2015 18:39
Where what comes from? I'm guessing agents might be a passed argument to the function?
cesaresparza
@cesaresparza
Jun 23 2015 18:49
oh sorry, where agents* come from
Vince Knight
@drvinceknight
Jun 23 2015 18:50
Is it not a passed argument? I'm on my phone at the moment but will check in a bit.
cesaresparza
@cesaresparza
Jun 23 2015 19:03
I think it is. Ok. Thank you