public static class ImplicitRelationUtilities.DependentPath extends Object
Constructor and Description |
---|
DependentPath(int pathLength)
Constructs a DependentPath.
|
DependentPath(int pathLength,
Map<Long,Integer> sourceMap,
Map<Long,Integer> targetMap,
Long commonId,
Map<Long,String> tokenMap)
Constructs a DependentPath - with common ancestor information.
|
Modifier and Type | Method and Description |
---|---|
int |
getPathLength()
Gets the path length.
|
String |
getSourcePathString()
Gets the source path string.
|
String |
getTargetPathString()
Gets the target path string.
|
public DependentPath(int pathLength)
pathLength
- the path lengthpublic DependentPath(int pathLength, Map<Long,Integer> sourceMap, Map<Long,Integer> targetMap, Long commonId, Map<Long,String> tokenMap) throws IfsException
pathLength
- the path lengthsourceMap
- the source token's maptargetMap
- the target token's mapcommonId
- the token ID of the common ancestortokenMap
- the token map (ID -> token word)IfsException
public int getPathLength()
public String getSourcePathString()
public String getTargetPathString()
Copyright © 2023. All rights reserved.