class SingleInputSemanticProperties implements SemanticProperties {

	@Override
	public int getForwardingSourceField(int input, int targetField) {
		if (input != 0) {
			throw new IndexOutOfBoundsException();
		}

		for (Map.Entry<Integer, FieldSet> e : fieldMapping.entrySet()) {
			if (e.getValue().contains(targetField)) {
				return e.getKey();
			}
		}
		return -1;
	}

	public  SingleInputSemanticProperties();

}