public void addHistory(int cycle) {
		int[] count = new int[10];
		double[] data = new double[10];
		for(int i=0;i<10;i++) {
			count[i]=0;
			data[i]=0D;
		}
		
		
		for(Sneetch sne : popSne) {
			double[] sAveSound = new double[5];
			for(int i=0;i<5;i++) {
				sAveSound[i]=0D;
				for(Word w : sne.getLex().getLexCate()[i]) {
					sAveSound[i]+=w.getSound()[0];
				}
				sAveSound[i]/=(double)sne.getLex().getLexCate()[i].size();
				count[i+5*sne.getGroup().getID()]++;
				data[i+5*sne.getGroup().getID()]+=sAveSound[i];
			}
		}
		
		for(int i=0;i<10;i++) {
			data[i]/=(double)count[i];
		}
		
		CyclesHistory[cycle] = new CycleHistory(data);
	}