/** * Generates the matrices used internally to set latency and bandwidth between elements. */ private static void generateMatrices() { // creates the delay matrix delayMatrix = new DelayMatrix_Float(graph, false); // creates the bw matrix bwMatrix = createBwMatrix(graph, false); networkEnabled = true; }