public class RTEDStateVertexImpl extends StateVertexImpl
INDEX_ID| Constructor and Description |
|---|
RTEDStateVertexImpl(int id,
String url,
String name,
String dom,
String strippedDom,
double threshold)
Defines a State.
|
| Modifier and Type | Method and Description |
|---|---|
double |
computeDistance(String dom1,
String dom2) |
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 RTEDStateVertexImpl(int id,
String url,
String name,
String dom,
String strippedDom,
double threshold)
id - id of the state in the SFGurl - the current url of the statename - the name of the statedom - the current DOM tree of the browserstrippedDom - the stripped dom by the OracleComparatorsthreshold - the threshold to be usedpublic 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.