// $Id: ConstSysProperties.java,v 1.6 2007/11/07 08:56:27 zahorjan Exp $ /** * These control the behavior of the simulated system. You can * alter them ONLY to see how they affect performance. But, * they're properties of the system, not choices that can * be affected by software implementation strategies, so * cannot be used to 'tune' your approach. */ public class ConstSysProperties { /** * Probability that a node has its update method called * during each time step. This is one way the simulator * mimics the randomness of timing that occurs in real * system. */ public static final double UPDATE_PROB = 0.90; /** * Mean time to failure for each individual node, * measured in time steps. */ public static final int NODE_MTF = 10000; /** * Mean time to recovery for each individual node, * measured in time steps. */ public static final int NODE_MTR = 200; /** * A weight applied to update message overhead in computing * a score. It represents, roughly, the fraction of all data * traffic a single update packet from each node to each other * node would be. */ public static final double UPDATE_PACKET_OVERHEAD_WEIGHT = 0.01; }