Class SIFTStateVertexImpl

  • All Implemented Interfaces:
    StateVertex, Serializable

    public class SIFTStateVertexImpl
    extends StateVertexImpl
    The state vertex class which represents a state in the browser. When iterating over the possible candidate elements every time a candidate is returned its removed from the list so it is a one time only access to the candidates.
    See Also:
    Serialized Form
    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
      • threshold

        double threshold
    • Constructor Detail

      • SIFTStateVertexImpl

        SIFTStateVertexImpl​(int id,
                            String name,
                            String dom,
                            BufferedImage image)
        Creates a current state without an url and the stripped dom equals the dom.
        Parameters:
        name - the name of the state
        dom - the current DOM tree of the browser
      • SIFTStateVertexImpl

        public SIFTStateVertexImpl​(int id,
                                   String url,
                                   String name,
                                   String dom,
                                   String strippedDom,
                                   BufferedImage image,
                                   double threshold)
        Defines a State.
        Parameters:
        url - the current url of the state
        name - the name of the state
        dom - the current DOM tree of the browser
        strippedDom - the stripped dom by the OracleComparators
        threshold -