Quantcast

select agents based on attributes.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

select agents based on attributes.

Meshal Al-Harbi
Hi All,

I have thousands of agents. For every tick I would like to show certain agents based on their attributes.

Any help please?

Thanks in advance.



------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: select agents based on attributes.

srcnick
You could style them such that in the default case they are colored the same as the background color, and then change the color to something else based on the attributes.

There’s some info on a custom style here:


and the appropriate class to extend is:


You can override any of those methods to change color, size, etc.

Nick



On Aug 31, 2016, at 12:52 PM, Meshal Al-Harbi <[hidden email]> wrote:

Hi All,

I have thousands of agents. For every tick I would like to show certain agents based on their attributes.

Any help please?

Thanks in advance.


------------------------------------------------------------------------------
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------

_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Loading...