def numpaths_from(self, Src):
	try:
	    NP = self.NP
	except __HOLE__:
	    NP = self.mod.nodegraph(is_mapping = True)
	    NP.add_edges_n1(self.IG.get_domain(), None)
	    for dst in self.Dst.nodes:
		NP.add_edge(dst, 1)
	    self.NP = NP
	numedges = self.mod.hv.numedges
	IG = self.IG
	def np(y):
	    n = NP[y]
	    if n is None:
		n = 0
		for z in IG[y]:
		    sn = NP[z]
		    if sn is None:
			sn = np(z)
		    n += sn * numedges(y, z)
		NP[y] = n
	    return n
	num = 0
	for src in Src.nodes:
	    num += np(src)
	return num
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/heapy/Path.py/ShortestPaths.numpaths_from