com.bbn.bue.common.evaluation.ProvenancedAligner Maven / Gradle / Ivy
package com.bbn.bue.common.evaluation;
import com.google.common.annotations.Beta;
import com.google.common.base.Function;
/**
* Something which can produce a {@link ProvenancedAlignment}. See that class for more details.
*
* Note that unlike a regular {@link Aligner}, the resulting alignment may not be over the same type
* of objects as the input (which will become the provenances).
*/
@Beta
public interface ProvenancedAligner {
ProvenancedAlignment align(
Iterable extends LeftProvT> leftItems,
Iterable extends RightProvT> rightItems);
Function, ? extends Iterable extends RightProvT>>,
ProvenancedAlignment> asFunction();
}