Interface SMGraphAStar

    • Field Detail

      • DEFAULT_MAX_QUEUE_SIZE

        static final int DEFAULT_MAX_QUEUE_SIZE
        Default maximum size of the solution queue is -1
        See Also:
        Constant Field Values
      • DEFAULT_TIMEOUT

        static final int DEFAULT_TIMEOUT
        Default timeout in seconds for terminating the computation is -1
        See Also:
        Constant Field Values
      • DEFAULT_RETURN_LOCAL_SIMILARITIES

        static final boolean DEFAULT_RETURN_LOCAL_SIMILARITIES
        Default flag for whether local similarities should be returned false
        See Also:
        Constant Field Values
      • DEFAULT_ALLOW_PRE_INITIALIZATION

        static final boolean DEFAULT_ALLOW_PRE_INITIALIZATION
        Default flag for allowing pre-initialization of initial solution is true
        See Also:
        Constant Field Values
      • DEFAULT_ALLOW_CASE_ORIENTED_MAPPING

        static final boolean DEFAULT_ALLOW_CASE_ORIENTED_MAPPING
        Default flag for allowing case-oriented mapping is true
        See Also:
        Constant Field Values
      • DEFAULT_ONLY_TEST_FOR_EQUALITY

        static final boolean DEFAULT_ONLY_TEST_FOR_EQUALITY
        Default flag for testing only for equality between query and case graph is false
        See Also:
        Constant Field Values
    • Method Detail

      • getOriginalQueryNodes

        Set<NESTNodeObject> getOriginalQueryNodes()
        Returns:
        the originalQueryNodes
      • setOriginalQueryNodes

        void setOriginalQueryNodes​(Set<NESTNodeObject> originalQueryNodes)
        The original set of nodes of the query.
        Parameters:
        originalQueryNodes - the originalQueryNodes to set
      • getOriginalQueryEdges

        Set<NESTEdgeObject> getOriginalQueryEdges()
        Returns:
        the originalQueryEdges
      • setOriginalQueryEdges

        void setOriginalQueryEdges​(Set<NESTEdgeObject> originalQueryEdges)
        The original set of edges of the query.
        Parameters:
        originalQueryEdges - the originalQueryEdges to set
      • getMaxQueueSize

        int getMaxQueueSize()
        Gets the queue size of the AStarSimilarity
        Returns:
        The maximum queue size
      • setMaxQueueSize

        void setMaxQueueSize​(int qSize)
        Sets the maximum size of the queue that stores the (partial) solutions of the A* algorithm. If the current queue grows larger than the set maximum, the lowest ranked solutions will be removed. Setting a negative value disables pruning of the queue.
        Parameters:
        qSize - The maximum queue size
      • isReturnLocalSimilarities

        boolean isReturnLocalSimilarities()
        Returns:
      • setReturnLocalSimilarities

        void setReturnLocalSimilarities​(boolean returnLocalSimilarities)
        Parameters:
        returnLocalSimilarities -
      • isAllowPreInitializationOfSolution

        boolean isAllowPreInitializationOfSolution()
        Returns:
      • setAllowPreInitializationOfSolution

        void setAllowPreInitializationOfSolution​(boolean allowPreInitializationOfSolution)
        Parameters:
        allowPreInitializationOfSolution -
      • isAllowCaseOrientedMapping

        boolean isAllowCaseOrientedMapping()
        Returns:
        Whether case-oriented mapping is allowed or not.
      • setAllowCaseOrientedMapping

        void setAllowCaseOrientedMapping​(boolean allowCaseOrientedMapping)
        Parameters:
        allowCaseOrientedMapping - flag
      • isOnlyTestForEquality

        boolean isOnlyTestForEquality()
        Returns:
        flag
      • setOnlyTestForEquality

        void setOnlyTestForEquality​(boolean onlyTestForEquality)
        Parameters:
        onlyTestForEquality - flag
      • getTimeout

        int getTimeout()
        Returns:
        The timeout for terminating the computation.
      • setTimeout

        void setTimeout​(int timeout)
        Sets a timeout in seconds for terminating the computation. Setting a negative value disables timeout.
        Parameters:
        timeout - in seconds for terminating the computation