Hi Matt,

Someone else may know better, but I suspect that having an extension
return an object of a class defined in another extension may pause
class loader problems.

It may end up being simpler for you to return a regular NetLogo list
from your reporter, and then convert it to a table within NetLogo code
using the `table:from-list` primitive:

http://ccl.northwestern.edu/netlogo/docs/arraystables.html#table:from-list

--
Nicolas


On Tue, Feb 24, 2015 at 9:33 PM,  <matt...@udel.edu> wrote:
> Hello,
>
> I am working on a scheduling system that requires an extension. I'm using 
> java to implement this extension.
>
> I would like to map a time (number) to tasks (agentset) and think that a 
> "netlogo table" will work. I would like to know how to create the netlogo 
> table in java and return it to the netlogo program.
>
> In my class that extends DefaultReporter, would I report a wild card type? 
> How would I build the table in java though? I am assuming it won't allow me 
> to return a HashMap.
>
> Let me know what you think
> -Matt
>
> --
> You received this message because you are subscribed to the Google Groups 
> "netlogo-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to netlogo-devel+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to netlogo-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to