1 /* Copyright (c) 2012-2014, 2016. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
10 /* Common constants used all over the simulation */
11 public static final int COMM_SIZE = 1;
12 public static final int COMP_SIZE = 0;
14 public static final int RANDOM_LOOKUP_INTERVAL = 100;
16 public static final int ALPHA = 3;
18 public static final int IDENTIFIER_SIZE = 32;
19 /* Maximum size of the buckets */
20 public static final int BUCKET_SIZE = 20;
21 /* Maximum number of trials for the "JOIN" request */
22 public static final int MAX_JOIN_TRIALS = 4;
23 /* Timeout for a "FIND_NODE" request to a node */
24 public static final int FIND_NODE_TIMEOUT = 10;
25 /* Global timeout for a FIND_NODE request */
26 public static final int FIND_NODE_GLOBAL_TIMEOUT = 50;
27 /* Timeout for a "PING" request */
28 public static final int PING_TIMEOUT = 35;
30 public static final int MAX_STEPS = 10;
31 public static final int JOIN_BUCKETS_QUERIES = 1;
33 throw new IllegalAccessError("Utility class");