You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code is synchronous, so testing of partial solutions happens sequentially
I am building an iterator that is mean to return a list of solutions to the problem like this:
[S1xR1, S1xR2, S1xR3]
[S1xR1, S1xR2, S2xR3]
[S1xR1, S2xR2, S2xR3]
[S2xR1, S2xR2, S2xR3]
[S2xR1, S1xR2, S2xR3]
[S2xR1, S1xR2, S1xR3]
[S1xR1, S2xR2, S1xR3]
[S2xR1, S2xR2, S1xR3]
It's not very important for me which order the fallbacks come in.
What I do care is about backtracking/pruning of failure branches. If S2xR2 returns false, it should break any attempt at constructing any combination with that branch.
Does this crate solve such problem? Can I get pointed at any examples?
The text was updated successfully, but these errors were encountered:
I have the following scenario:
[S1xR1, S1xR2, S1xR3]
[S1xR1, S1xR2, S2xR3]
[S1xR1, S2xR2, S2xR3]
[S2xR1, S2xR2, S2xR3]
[S2xR1, S1xR2, S2xR3]
[S2xR1, S1xR2, S1xR3]
[S1xR1, S2xR2, S1xR3]
[S2xR1, S2xR2, S1xR3]
It's not very important for me which order the fallbacks come in.
What I do care is about backtracking/pruning of failure branches. If
S2xR2
returns false, it should break any attempt at constructing any combination with that branch.Does this crate solve such problem? Can I get pointed at any examples?
The text was updated successfully, but these errors were encountered: