V
- the graph vertex typepublic static class TarjanLowestCommonAncestor.LcaRequestResponse<V> extends Object
Constructor and Description |
---|
LcaRequestResponse(V a,
V b)
Create a new LCA request response data transfer object.
|
Modifier and Type | Method and Description |
---|---|
V |
getA()
Get the first vertex of the request
|
V |
getB()
Get the second vertex of the request
|
V |
getLca()
Get the least common ancestor
|
public V getA()
public V getB()
public V getLca()
Copyright © 2017. All rights reserved.