private static boolean addNeighbors(Cluster cluster,Cluster cluster2){
		boolean merge=false;
		if(cluster==null || cluster2==null){
			return false;
		}
		try{
			for(int index=0;index<cluster2.getNumInstances();++index){
				Instance p=cluster2.getInstance(index);
				if(p.isKey() && cluster.contains(p)){
					merge=true;
					break;
				}
			}
			if(merge){
				for(int index=0;index<cluster2.getNumInstances();++index){
					if(!cluster.contains(cluster2.getInstance(index))){
						cluster.addInstance(cluster2.getInstance(index));
					}
				}
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		return merge;
	}