public void drawSolution(int[] solution, double[] capacities, double capConst, boolean fromButton, int sol, int best_solution) {
		for (double d: capacities) {
			System.out.println("incoming capacities: " +d);
		}
		localSolution = solution;
		localCaps = capacities;
		this.capConst = capConst;
		computeCaps();
		
		System.out.println("updating lines in drawSolution");
		int v;
		for (int i = 0; i < solution.length; i++) {   // creates solution lines
			v = solution[i];
			lines[i] = createLine(i, v, -3);
		}
		
		calcPheromones();
		
		if (!foundSolution) {
			foundSolution = true;
			parent.foundSolution = true;
		}
		
		if (fromButton) {
			this.minor_solution = sol;
			this.best_solution = best_solution;
			repaint();   // !!!!!!! causes a weird bug right now
		}
	}