package edu.vt.marian.search; import java.util.*; import java.io.*; import edu.vt.marian.common.*; /** * Any mapping whereby a single (weighted) object can be turned into a WtdObjSet (for instance, the mapping to all nodes exactly one link away from a given object). Typically, the weight of the key WtdObj will be applied to all members of the set. * * @author Robert France * @see edu.vt.marian.common.WtdObj * @see WtdObjSet */ public interface WtdObjToSetMapping { /** * Map a single object to an associated weighted object set (where "associated" * is defined by the implementing class). * * @param key the FullID of the seed object. * @return A corresponding weighted object set. */ public WtdObjSet map(WtdObj key); }