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