1 /* Copyright (c) 2012-2014. 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. */
9 * Common constants used all over the simulation
12 public final static int COMM_SIZE = 1;
13 public final static int COMP_SIZE = 0;
15 public final static int RANDOM_LOOKUP_INTERVAL = 100;
17 public final static int alpha = 3;
19 * Size of the nodes identifier
21 public final static int IDENTIFIER_SIZE = 32;
23 * Maximum size of the buckets
25 public final static int BUCKET_SIZE = 20;
27 * Maximum number of trial for the "JOIN" request
29 public final static int MAX_JOIN_TRIALS = 4;
31 * Timeout for a "FIND_NODE" request to a node
33 public final static int FIND_NODE_TIMEOUT = 10;
35 * Global timeout for a FIND_NODE.
37 public final static int FIND_NODE_GLOBAL_TIMEOUT = 50;
39 * Timeout for a "PING" request
41 public final static int PING_TIMEOUT = 35;
43 public final static int MAX_STEPS = 10;
45 public final static int JOIN_BUCKETS_QUERIES = 1;