class DefaultLogicalResult implements LogicalResult<DefaultLogicalVertex, DefaultLogicalResult> {

	@Override
	public Iterable<DefaultLogicalVertex> getConsumers() {
		return intermediateDataSet.getConsumers().stream()
			.map(JobEdge::getTarget)
			.map(JobVertex::getID)
			.map(vertexRetriever)
			.collect(Collectors.toList());
	}

	  DefaultLogicalResult(
			final IntermediateDataSet intermediateDataSet,
			final Function<JobVertexID, DefaultLogicalVertex> vertexRetriever);

}