private void addUsersToModel(int n) { for (int i = 0; i < n; ++i) { if (!model.AddRandomUser()) { System.out.println("Cannot place user"); } } }
/** * Whether or not this piece of equipment is disabled. Presently, all equipment is disabled when * running on a simulation rather than an actual chip. In particular, GPIB communication is * disabled so that we do not need to connect to GPIB devices. */ protected boolean isDisabled() { return SimulationModel.isInUse(); }