class ExecutionGraphToSchedulingTopologyAdapter implements SchedulingTopology {

	@Override
	public Optional<SchedulingResultPartition> getResultPartition(IntermediateResultPartitionID intermediateResultPartitionId) {
		return Optional.ofNullable(resultPartitionsById.get(intermediateResultPartitionId));
	}

	public  ExecutionGraphToSchedulingTopologyAdapter(ExecutionGraph graph);

}