/**
* Method used for testing
*/
public static void testSingleClosedSpeed2(int n) {
SolverSingleClosedMVA mva = new SolverSingleClosedMVA(n, 10);
String[] name = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" };
int[] type = { Solver.LD, Solver.LD, Solver.LD, Solver.LD, Solver.LD, Solver.LD, Solver.LD, Solver.LD, Solver.LD, Solver.LD };
double[][] servt = new double[10][n + 1];
double[] visit = { 1.0, 1.3, 2.5, 1, 1, 2, 4, 5, 2, 1.2 };
double p;
for (int i = 1; i <= n; i++) {
p = 1.0 / i;
servt[0][i] = 0.020 * p;
servt[1][i] = 0.024 * p;
servt[2][i] = 0.007 * p;
servt[3][i] = 0.0001 * p;
servt[4][i] = 0.0015 * p;
servt[5][i] = 0.2 * p;
servt[6][i] = 0.0214 * p;
servt[7][i] = 0.074 * p;
servt[8][i] = 0.0144 * p;
servt[9][i] = 0.0213 * p;
}
if (mva.input(name, type, servt, visit)) {
mva.solve();
}
System.out.println(mva);
System.out.println("End Stability");
}