/** * Adds a list of norms to all the cars in the simulation * * @param norms */ public void broadcastRemoveNorm(Norm norm) { for (Car c : allCars) { c.getReasoner().removeNorm(norm); } }
/** * Adds a list of norms to all the cars in the simulation * * @param norms */ public void broadcastAddNorm(Norm norm) { for (Car c : allCars) { c.getReasoner().addNorm(norm); } }