Closed iloveivyxuan closed 4 years ago
Thank you so much for the detailed information and the tip for faster debugging! That helps a lot. I find I can run my function without running Galapagos
. This saves a lot of time for me!
I've fixed the code. Sorry for the late commitments.
Awesome, thanks again for all your work!
This PR is the table extension.
Following is the summary of what I've done in this PR
I didn't implement
groupAgents()
API. I got stuck on implementing it and would be appreciated if I can get an idea or information.I've got some observations. I noticed that
groupAgents()
means to group agents by their attributes, likecolor
,xcor
,size
... After Iconsole.log(reporter)
, I found it's an anonymous functionI guess
SelfManager.self()
need to be replaced byagent
. But I don't know how. I was confused about how to write js to implement something like[color] of turtles
.Other Notes
I didn't add
TableEquality
tests that are about to compare extensions objects. I'd like to open a new PR to implement this feature on table, matrix, array ...