private int calculateCentralizationHeuristic(Node n) {
		int[][] arr = n.state;
		int res = 0;
		for (int i = 0; i < arr.length; i++) {
			for (int j = 0; j < arr[i].length; j++) {
				if (arr[i][j] == 0) {
					continue;
				} else if (arr[i][j] == color) {
					res += getWeight(i, j);
				} else {
					res -= getWeight(i, j);
				}
			}
		}
		return res;
	}