Closed dynaryu closed 9 months ago
The difference comes from how 'x_n' are defined (in the for loop with c_idx). In the ipynb script, now I made pipelines in reverse direction represented by different component events because I was told that usually those pipelines are different entities.
Did you have a chance to check the Csys, the output of the test?
BNS_JT/tests/test_pipes_sys.py::test_get_cys_from_brs_pipe
[[0 2 2 ... 3 3 3]
[0 2 2 ... 3 3 3]
[0 2 0 ... 3 3 3]
...
[1 2 1 ... 5 2 3]
[1 2 1 ... 3 2 3]
[1 2 1 ... 3 2 3]]
5 does not seem right to me.
Yes, I checked the result, and I reckon the result is correct. The B matrix of 'x8' is [[1,0,0],[0,1,0],[0,0,1],[1,1,1],[1,1,0],[0,1,1]], so state 5 represents [0,1,1] case.
Great. Thanks.
still different result by test_get_csys_from_brs_pipe from the notebook (gen_bnb_to_rel_deter_ind_pipe.ipynb) Brs from the gen_bnb seem right though. I guess Brs are the same between pipe_system_v2.ipynb and gen_bnb_to_rel_deter_ind_pipe.ipynb? Any thoughts?