def test_normalized_P4(self):
        G=nx.path_graph(4)
        b=nx.edge_betweenness_centrality(G, weight=None, normalized=True)
        b_answer={(0, 1):3,(1, 2):4, (2, 3):3}
        for n in sorted(G.edges()):
            assert_almost_equal(b[n],b_answer[n]/6.0)
The action vector is stripped and the only element is cast to integer and given
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/centrality/tests/test_betweenness_centrality.py/TestEdgeBetweennessCentrality.test_normalized_P4--crossover with--dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/mazes/tasks/mdp.py/MDPMazeTask.performAction