Class LabelConnector
- java.lang.Object
-
- de.unirostock.sems.bives.algorithm.Connector
-
- de.unirostock.sems.bives.algorithm.general.LabelConnector
-
@Deprecated public class LabelConnector extends Connector
Deprecated.Class to connect all nodes with the same label in two trees. As result a node in tree A with label a will be connected to all nodes in tree B which are also labeled with a.tree A: a a b connect: |X| | tree B: a a b
This class is currently deprecated because we don't support the mapping of multiple node. Each node must not have more than one connection. There are cases where this mapper will work like a charm, but it will most likely fail..- Author:
- Martin Scharm
-
-
Field Summary
-
Fields inherited from class de.unirostock.sems.bives.algorithm.Connector
allowDifferentIds, careAboutNames, conMgmt, docA, docB, stricterNames
-
-
Constructor Summary
Constructors Constructor Description LabelConnector(de.unirostock.sems.xmlutils.ds.TreeDocument docA, de.unirostock.sems.xmlutils.ds.TreeDocument docB)
Deprecated.Instantiates a new label connector.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
connect()
Deprecated.Inherit to search for connections.protected void
init()
Deprecated.Initializes the extension.-
Methods inherited from class de.unirostock.sems.bives.algorithm.Connector
findConnections, getConnections, getDocA, getDocB, nodeAssign
-
-
-
-
Method Detail
-
connect
protected void connect() throws BivesConnectionException
Deprecated.Description copied from class:Connector
Inherit to search for connections.- Specified by:
connect
in classConnector
- Throws:
BivesConnectionException
- the bives connection exception
-
init
protected void init() throws BivesConnectionException
Deprecated.Description copied from class:Connector
Initializes the extension.- Specified by:
init
in classConnector
- Throws:
BivesConnectionException
- the bives connection exception
-
-