parameters: (self)
return_statement: return max(self.nodes)
docstring: Determines the best candidate to vote for. This has nothing to do with the current vote tally, but instead
          is just a simple algorithm which should allow all nodes to converge on the new leader.
          :return: The node id of the best candidate.
docstring_summary: Determines the best candidate to vote for. This has nothing to do with the current vote tally, but instead
          is just a simple algorithm which should allow all nodes to converge on the new leader.
          :return: The node id of the best candidate.
docstring_tokens: Determines the best candidate to vote for . This has nothing to do with the current vote tally but instead is just a simple algorithm which should allow all nodes to converge on the new leader . : return : The node id of the best candidate .
function: def get_best_candidate(self):
          """
          Determines the best candidate to vote for. This has nothing to do with the current vote tally, but instead
          is just a simple algorithm which should allow all nodes to converge on the new leader.
          :return: The node id of the best candidate.
          """
          return max(self.nodes)
function_tokens: def get_best_candidate ( self ) : return max ( self . nodes )