parameters: (self, link_evaluator, links)
return_statement: return candidates
docstring: Convert links that are candidates to InstallationCandidate objects.
docstring_summary: Convert links that are candidates to InstallationCandidate objects.
docstring_tokens: Convert links that are candidates to InstallationCandidate objects .
function: def evaluate_links(self, link_evaluator, links):
          # type: (LinkEvaluator, Iterable[Link]) -> List[InstallationCandidate]
          """
          Convert links that are candidates to InstallationCandidate objects.
          """
          candidates = []
          for link in self._sort_links(links):
              candidate = self.get_install_candidate(link_evaluator, link)
              if candidate is not None:
                  candidates.append(candidate)
  
          return candidates
function_tokens: def evaluate_links ( self , link_evaluator , links ) : # type: (LinkEvaluator, Iterable[Link]) -> List[InstallationCandidate] candidates = [ ] for link in self . _sort_links ( links ) : candidate = self . get_install_candidate ( link_evaluator , link ) if candidate is not None : candidates . append ( candidate ) return candidates