public class LevenshteinStateVertexImpl extends StateVertexImpl
INDEX_ID| Constructor and Description |
|---|
LevenshteinStateVertexImpl(int id,
String url,
String name,
String dom,
String strippedDom,
EditDistanceComparator editDistanceComparator)
Defines a State.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
double |
getDist(StateVertex vertexOfGraph) |
int |
hashCode() |
String |
toString() |
getCandidateElements, getDistToNearestState, getDocument, getDom, getId, getName, getNearestState, getStrippedDom, getUrl, hasNearDuplicate, inThreshold, setDistToNearestState, setElementsFound, setHasNearDuplicate, setNearestStatepublic LevenshteinStateVertexImpl(int id,
String url,
String name,
String dom,
String strippedDom,
EditDistanceComparator editDistanceComparator)
url - the current url of the statename - the name of the statedom - the current DOM tree of the browserstrippedDom - the stripped dom by the OracleComparatorseditDistanceComparator - public int hashCode()
hashCode in class StateVertexImplpublic boolean equals(Object object)
equals in class StateVertexImplpublic String toString()
toString in class StateVertexImplpublic double getDist(StateVertex vertexOfGraph)
getDist in interface StateVertexgetDist in class StateVertexImplCopyright © 2007–2019. All rights reserved.