# Without LR updates
sequentialDVI(example1, updateLR = FALSE)
# With LR updates (default). Note two branches!
r = sequentialDVI(example1)
# Plot the two solutions
plotSolution(example1, r$matches, k = 1)
plotSolution(example1, r$matches, k = 2)
# Add `debug = T` to see the LR matrix in each step
sequentialDVI(example1, debug = TRUE)
# The output of can be fed into `jointDVI()`:
jointDVI(example1, assignments = r$matches)
Run the code above in your browser using DataLab