Class DependencyRetrieverImpl

    • Constructor Detail

      • DependencyRetrieverImpl

        public DependencyRetrieverImpl()
    • Method Detail

      • setResultsNumber

        public void setResultsNumber​(int resultsNumber)
        Description copied from interface: DependencyRetriever
        Method, to set the parameter k for the result numbers, that defines, how many dependency full matches must be found. If not at least k such case combinations were detected, a search of combined cases using dependency similarities is performed.
        Specified by:
        setResultsNumber in interface DependencyRetriever
        Parameters:
        resultsNumber - The parameter k defines, how many dependency full matches must be found.
      • getResultsNumber

        public int getResultsNumber()
        Description copied from interface: DependencyRetriever
        Method, that returns the parameter k for the result numbers, that defines, how many dependency full matches must be found. If not at least k such case combinations were detected, a search of combined cases using dependency similarities is performed.
        Specified by:
        getResultsNumber in interface DependencyRetriever
        Returns:
        The parameter k defines, how many dependency full matches must be found.
      • getRetrieverName

        public String getRetrieverName()
        Method, that returns the retriever name.
        Returns:
        The name of the retriever.
      • setAlpha

        public void setAlpha​(double alpha)
        Description copied from interface: DependencyRetriever
        Method, to set the parameter alpha, which is a weighting factor, that enables adjusting both parts of the similarity computation to individual needs of the use case. The default weight is DependencyRetriever.DEFAULT_ALPHA.
        Specified by:
        setAlpha in interface DependencyRetriever
        Parameters:
        alpha - The weighting parameter alpha, that should be used.
      • getAlpha

        public double getAlpha()
        Description copied from interface: DependencyRetriever
        Method, that returns the parameter alpha, which is a weighting factor, that enables adjusting both parts of the similarity computation to individual needs of the use case.
        Specified by:
        getAlpha in interface DependencyRetriever
        Returns:
        The weighting parameter alpha, that is used.