edu.uci.ics.jung.utils
Class StringLabellerVertexMapper

java.lang.Object
  extended by edu.uci.ics.jung.utils.AbstractVertexMapper
      extended by edu.uci.ics.jung.utils.StringLabellerVertexMapper
All Implemented Interfaces:
VertexMapper

public class StringLabellerVertexMapper
extends AbstractVertexMapper

Maps one vertex to another based on their common label in specified StringLabeller instances.

Author:
Joshua O'Madadhain

Field Summary
protected  StringLabeller sl_d
           
protected  StringLabeller sl_s
           
 
Fields inherited from class edu.uci.ics.jung.utils.AbstractVertexMapper
dest
 
Constructor Summary
StringLabellerVertexMapper(ArchetypeGraph dest)
           
StringLabellerVertexMapper(StringLabeller sl_src, StringLabeller sl_dest)
           
 
Method Summary
 ArchetypeVertex getMappedVertex(ArchetypeVertex v)
          see VertexMapper#getMappedVertex(edu.uci.ics.jung.graph.ArchetypeVertex)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sl_d

protected StringLabeller sl_d

sl_s

protected StringLabeller sl_s
Constructor Detail

StringLabellerVertexMapper

public StringLabellerVertexMapper(ArchetypeGraph dest)

StringLabellerVertexMapper

public StringLabellerVertexMapper(StringLabeller sl_src,
                                  StringLabeller sl_dest)
Method Detail

getMappedVertex

public ArchetypeVertex getMappedVertex(ArchetypeVertex v)
see VertexMapper#getMappedVertex(edu.uci.ics.jung.graph.ArchetypeVertex)