BridgeTheGap.java
//outputs the type the person leans
outputs the type the person leans
outputs the type the person leans
public String leaningType(){
		int rank = vertexMap.get(center).rank;
		if (rank <=7) {
			return "Strongly Liberal";
		}
		if (rank >7 && rank <=14) {
			return "Liberal";
		}
		if (rank >14 && rank <=21) {
			return "Moderate";
		}
		if (rank >21 && rank <=28) {
			return "Conservative";
		}
		if (rank >28 && rank <=35) {
			return "Strongly Conservative";
		}
		return "";
	}
public String leaningType ( ) { int rank = vertexMap . get ( center ) . rank ; if ( rank <= 7 ) { return "Strongly Liberal" ; } if ( rank > 7 && rank <= 14 ) { return "Liberal" ; } if ( rank > 14 && rank <= 21 ) { return "Moderate" ; } if ( rank > 21 && rank <= 28 ) { return "Conservative" ; } if ( rank > 28 && rank <= 35 ) { return "Strongly Conservative" ; } return "" ; }
outputs the type the person leans
outputs the type the person leans