public static Move getRandomMoveWithoutMutation(Graph g, int numOfMoves, int weightLevels) { Move moves = new Move(); RandomVertexIterator it = new RandomVertexIterator(g); while (moves.getVerticesCount() < numOfMoves) { // TODO: Something must be done to allow selecting less than numOfMoves vertices. moves.putVertex(it.next(), RandomHelper.getRandom().nextInt(weightLevels) + 1); } return moves; }