MASON-INTEREST-L Archives

February 2020

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show HTML Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Paul Smaldino <[log in to unmask]>
Reply To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Wed, 19 Feb 2020 17:27:31 -0800
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1674 bytes) , text/html (3777 bytes)
Apparently, I wasn't using doLoop in the main method. Whew! Problem solved
(though it is still somewhat mysterious to me as to why).




On Wed, Feb 19, 2020 at 5:13 PM Paul Smaldino <[log in to unmask]>
wrote:

> Hi all,
>
> I used to use MASON all the time, but it's been a couple of years since I
> last used it until this week. I recently downloaded MASON 20 and used it to
> construct a new ABM, but for some reason, nothing Steppable appears to be
> getting scheduled.
>
> I have classes that implement Steppable, and constructors like the
> following (AgentsSimulation extends SimState):
>
> public Stoppable event;
> public Community(AgentsSimulation as){
>   this.event = as.schedule.scheduleRepeating(this, 1, 1);
> }
>
> However, even though I've confirmed these objects are being created (in
> the start method of the SimState), they never run their step function.
>
> Any likely culprits? My IDE is Eclipse and I'm using Java 8 (JRE 1.8).
>
> Thanks!
> -Paul
>
>
> __________________________________________________________
> Paul Smaldino, Ph.D.
> Assistant Professor, Cognitive and Information Sciences
> Faculty Member, Quantitative and Systems Biology Graduate Group
> University of California, Merced
> http://secure-web.cisco.com/13A5iI8tt08b38AjgSIKBCtox693fvO-CRg1Kjh-H1fFvwWzKTept6dDUUvOTQyKSsz-gwA2m7-UR3X71CrcFHrcUQFCFbUOjVmRzJYyasdb6iDQmhFmzBZ4A3QqJN09yv4Q3Xuar5H5CHUxDUB4rGLzuL0lRKpir1UA0lCtKr4ke6U7cfEp3V47GcoA6vON_XQ5dpX8ZwJ9dVihyFW74iIN2HWcs09Obw3JHwQXYZTNQirzn85BGFZZ-dXHbzjlO_6msvxw1ySEuKavP0n0GtbKqAjQQE2KK8hbdob53qtsHwVHEbzCIhMoFO0Xa4sahFT3llla0Dkw2GUokjzqZB6peFegh7kqmL7saMAad2NGKkVQJifq8-FzFRDDioH_SyPYFwIsrXsPj9Yiljyfhp_0eYnlxcKa8oLXIddpVOec/http%3A%2F%2Fwww.smaldino.com
>


ATOM RSS1 RSS2