@Override
	public int compareTo(BFSSearchNode o) {
		if(this.depth < o.getDepth()){
			return -1;
		}else if(this.depth > o.getDepth()){
			return 1;
		}else{
			if(this.state.id < o.getState().id){
				return -1;
			}else if(this.state.id > o.getState().id){
				return 1;
			}else{
				return 0;
			}
		}
	}