Different state numbering for chance and equation nodes

The front end.
Post Reply
sverrevr
Posts: 26
Joined: Mon Aug 24, 2020 7:37 am

Different state numbering for chance and equation nodes

Post by sverrevr »

Chance node are 0-indexed:
chance_node_states.png
chance_node_states.png (129.44 KiB) Viewed 7272 times
While equation nodes are 1-indexed:
equation_node_states.png
equation_node_states.png (201.59 KiB) Viewed 7272 times
So if you make a chance node and then turn it into an equation node you get this weird numbering (note that State1 is followed by State3):
chance_into_equation.png
chance_into_equation.png (184.07 KiB) Viewed 7272 times

Would be nice if the same indexing was used on both equation nodes and chance nodes, but I understand if it's not a priority to fix this.

Best regards
Sverre
shooltz[BayesFusion]
Site Admin
Posts: 1442
Joined: Mon Nov 26, 2007 5:51 pm

Re: Different state numbering for chance and equation nodes

Post by shooltz[BayesFusion] »

I added this to our tracking system. We'll change equation discretized state indexing to 0-based in the next service release.
sverrevr
Posts: 26
Joined: Mon Aug 24, 2020 7:37 am

Re: Different state numbering for chance and equation nodes

Post by sverrevr »

Nice, thanks :)
shooltz[BayesFusion]
Site Admin
Posts: 1442
Joined: Mon Nov 26, 2007 5:51 pm

Re: Different state numbering for chance and equation nodes

Post by shooltz[BayesFusion] »

This issue was fixed in the most recent release (4.0.2221).
sverrevr
Posts: 26
Joined: Mon Aug 24, 2020 7:37 am

Re: Different state numbering for chance and equation nodes

Post by sverrevr »

Great!
Post Reply