edu.illinois.cs.cogcomp.lbj.coref.alignment
Class Aligner<T>

java.lang.Object
  extended by edu.illinois.cs.cogcomp.lbj.coref.alignment.Aligner<T>
Direct Known Subclasses:
DefaultAligner

public abstract class Aligner<T>
extends java.lang.Object

Base class for aligning objects


Constructor Summary
Aligner()
           
 
Method Summary
abstract  java.util.Map<T,T> getAlignment(java.util.Collection<T> from, java.util.Collection<T> to)
          Aligns elements in from to elements in to
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Aligner

public Aligner()
Method Detail

getAlignment

public abstract java.util.Map<T,T> getAlignment(java.util.Collection<T> from,
                                                java.util.Collection<T> to)
Aligns elements in from to elements in to

Parameters:
from - The elements to be aligned.
to - The target elements.
Returns:
A map representing an alignment from objects in from to objects in to.