Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How come I can use methods that return Amounts to style agents in the runtime wizards in Repast Simphony version 1.0?

0
Posted

How come I can use methods that return Amounts to style agents in the runtime wizards in Repast Simphony version 1.0?

0

In version 1.0, icon style wizards can only use methods that return a java.lang.Number. In version 1.1 we have added the ability to use Amounts for scaling that just returns a double value using the Amount’s units, assuming that the user accounts for different units (ie trying to scale an icon size by 25.seconds or 8.35.kilograms). The good news is that the stylers have access to all public methods in a class that return a java.lang.Number.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123