docstr: Get the alias edge setup lists for a given edge.
docstr_tok: ["Get","the","alias","edge","setup","lists","for","a","given","edge","."]
code: def get_alias_edge(self, src, dst):
      """
      Get the alias edge setup lists for a given edge.
      """
      G = self.G
      p = self.p
      q = self.q
  
      unnormalized_probs = []
      for dst_nbr in G.neighbors(dst):
          if dst_nbr == src:
              unnormalized_probs.append(G[dst][dst_nbr]["weight"] / p)
          elif G.has_edge(dst_nbr, src):
              unnormalized_probs.append(G[dst][dst_nbr]["weight"])
          else:
              unnormalized_probs.append(G[dst][dst_nbr]["weight"] / q)
      norm_const = sum(unnormalized_probs)
      normalized_probs = [
          float(u_prob) / norm_const for u_prob in unnormalized_probs
      ]
  
      return alias_setup(normalized_probs)
  
file_path: OpenNE/src/openne/walker.py
imports: from __future__ import print_function
  import random
  import numpy
  import multiprocessing
label_desc: Use image node_id 4 for calling the Walker obj's underlying member method code with example usage: obj.get_alias_edge(src, dst) and returns: alias_setup