def test_fast_init(self):
    g1 = NetworkGraph(self.s1.structure)
    for node in self.s1.structure.nodes_labels:
        g1.fast_init(node)
        self.assertIsNotNone(g1._graph.nodes)
        self.assertIsNotNone(g1._graph.edges)
        self.assertIsInstance(g1._time_scalar_indexing_structure, np.ndarray)
        self.assertIsInstance(g1._transition_scalar_indexing_structure, np.ndarray)
        self.assertIsInstance(g1._time_filtering, np.ndarray)
        self.assertIsInstance(g1._transition_filtering, np.ndarray)
        self.assertIsInstance(g1._p_combs_structure, np.ndarray)
        self.assertIsInstance(g1._aggregated_info_about_nodes_parents, tuple)
def test_fast_init(self):
    g1 = NetworkGraph(self.s1.structure)
    for node in self.s1.structure.nodes_labels:
        g1.fast_init(node)
        self.assertIsNotNone(g1._graph.nodes)
        self.assertIsNotNone(g1._graph.edges)
        self.assertIsInstance(g1._time_scalar_indexing_structure, np.ndarray)
        self.assertIsInstance(g1._transition_scalar_indexing_structure, np.ndarray)
        self.assertIsInstance(g1._time_filtering, np.ndarray)
        self.assertIsInstance(g1._transition_filtering, np.ndarray)
        self.assertIsInstance(g1._p_combs_structure, np.ndarray)
        self.assertIsInstance(g1._aggregated_info_about_nodes_parents, tuple)