class UnionInputGate extends InputGate {

	@Override
	public InputChannel getChannel(int channelIndex) {
		int gateIndex = inputChannelToInputGateIndex[channelIndex];
		return inputGatesByGateIndex.get(gateIndex)
			.getChannel(channelIndex - inputGateChannelIndexOffsets[gateIndex]);
	}

	public  UnionInputGate(IndexedInputGate... inputGates);

}