edu.vt.marian.search
Class LinkSetMapping

java.lang.Object
  |
  +--edu.vt.marian.search.LinkSetMapping

public class LinkSetMapping
extends java.lang.Object
implements WtdObjToSetMapping

A mapping from (weighted) single nodes along links of a particular class in a particular direction to all the connected nodes at the other end.

See Also:
WtdObjToSetMapping, LinkClassManager

Field Summary
protected  edu.vt.marian.common.Debug debug
           
protected  int dir
           
protected  LinkClassManager linkMgr
           
 
Constructor Summary
LinkSetMapping(LinkClassManager linkManager, int direction, edu.vt.marian.common.Debug d)
           
 
Method Summary
 WtdObjSet map(edu.vt.marian.common.WtdObj key)
          Add a new component set to the Sequencer with no scaling constant.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

protected edu.vt.marian.common.Debug debug

linkMgr

protected LinkClassManager linkMgr

dir

protected int dir
Constructor Detail

LinkSetMapping

public LinkSetMapping(LinkClassManager linkManager,
                      int direction,
                      edu.vt.marian.common.Debug d)
Method Detail

map

public WtdObjSet map(edu.vt.marian.common.WtdObj key)
Add a new component set to the Sequencer with no scaling constant.
Specified by:
map in interface WtdObjToSetMapping
Parameters:
set - a component weighted object set.
Returns:
ReturnValues.OK -- set was added without problems.
anything else -- problems.