static void updatePheromones(int[] assignments, double[][][] graph, boolean isFeasible) {
		double pheromoneValue = isFeasible ? FEASIBLE_PHEROMONE_VALUE : INFEASIBLE_PHEROMONE_VALUE;
		for (int i = 0; i < assignments.length; i++) {
			//i is the task, assignments[i] is the agent for that task
			if (assignments[i] > 0) {
				graph[assignments[i]][i][2] += pheromoneValue;
				if (verbosity >= 1)
					System.out.println("\tAgent " + assignments[i] + " (task " + i + ") now has pheromoneValue " + graph[assignments[i]][i][2]);
			}
		}
	}