1 /* Copyright (c) 2012-2013. 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. */
8 * Common constants used all over the simulation
11 public final static int COMM_SIZE = 1;
12 public final static int COMP_SIZE = 0;
14 public final static int RANDOM_LOOKUP_INTERVAL = 100;
16 public final static int alpha = 3;
18 * Size of the nodes identifier
20 public final static int IDENTIFIER_SIZE = 32;
22 * Maximum size of the buckets
24 public final static int BUCKET_SIZE = 20;
26 * Maximum number of trial for the "JOIN" request
28 public final static int MAX_JOIN_TRIALS = 4;
30 * Timeout for a "FIND_NODE" request to a node
32 public final static int FIND_NODE_TIMEOUT = 10;
34 * Global timeout for a FIND_NODE.
36 public final static int FIND_NODE_GLOBAL_TIMEOUT = 50;
38 * Timeout for a "PING" request
40 public final static int PING_TIMEOUT = 35;
42 public final static int MAX_STEPS = 10;
44 public final static int JOIN_BUCKETS_QUERIES = 1;