@Override
	public double checkConstraint() {
		double result = 0;
		int acheived = 0;
		for(TerminationData t:gameDescription.getTerminationConditions()){
			for(String s:t.sprites){
				acheived += numOfObjects.get(s);
			}
			
			if(t.type.equals("SpriteCounter")){
				if(acheived > t.limit){
					result += 1;
				}
			}
			else if(t.type.equals("MultiSpriteCounter")){
				if(acheived != t.limit){
					result += 1;
				}
			}
		}
		
		return result / gameDescription.getTerminationConditions().size();
	}