private static int[] generateSubsetArray(Frame frame, int property){
		int[] ret = new int[NUMBER_OF_ALTERNATIVES];
		int i = 0;
		int frameProperty = 0;

		switch (property) {
			case 0:
				frameProperty = frame.isBfurrowedbrow() ? 1 : 0;
				break;
			case 1:
				frameProperty = frame.isBmarionettelines() ? 1 : 0;
				break;
			case 2:
				frameProperty = frame.isBeyelid() ? 1 : 0;
				break;
		}

		for (int[] emotion : emotions) {
			int value = 0;
			// select the emotion, if the property is 2 or the same as the
			// frame's
			if (emotion[property] == 2 || emotion[property] == frameProperty) {
				value = 1;
			}
			ret[i] = value;
			i++;
		}

		return ret;
	}