When you do
G=nx.fast_gnp_random_graph(NUMBER_OF_NODES,PPROB_OF_EDGE,True)
you will get an undirected graph. Thus, the edge (u,w)is an undirected edge --- there is no difference between (u,w)and (w,u). It makes no sense to talk about a "directional path."
, , , True . - , nx.fast_gnp_random_graph , , .
G = nx.fast_gnp_random_graph(NUMBER_OF_NODES, PROB_OF_EDGE, directed=True)
( , , python).