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:13:03 -0800
Content-Type:
multipart/alternative
Parts/Attachments:
text/plain (1456 bytes) , text/html (3013 bytes)
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/19bJiOoi7vgJbWF3pgTKMg5S3VpStpsb3g0_LPVwBk5Ej2Y7rWmXMj05rJ2P3hx9JIJS-N4gFhEK2f_poGV59p7borVEJgsjvl4wNxfqo28qLSJMd6GBI8QSExsqOTDXv9I6hR00qCTWnTFCAm6IPqSYIiZFZnsrE82rDdcc6ETi_6yBN2_xAFbDLmSWQ5-ScMltKZpFiqsAoISaSW49uy2u9wh4q5MScsXGW8dZY7TZh7a0ErwWPX5lmL8yn9hcmgi-XDBHv35gEdbLysVVTUCNOgU6S0cd_eD3bz-ovk7T0aGQBBkOey8duXNf4JxjLmhIb62bH1oJ6M8kTn1WPydmGBr0odV6UbYFFM58jupW4ASfE5zWqI6G0TYFRfhogPwCWzDyNjTC5vyWgFLcEiCXQzkcbZgxBfbjYxDf6BpF2JmmGa_Edj9M0dO0MavboPzuJcC2Bh6MyEdDS9WL2_A/http%3A%2F%2Fwww.smaldino.com


ATOM RSS1 RSS2