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