BinPacker.Diff (bin_packer v0.1.0) View Source

A Diff indicates the changes between one bin_packer and another, as generated by PartitionMap.diff/2.

The differences are presented by the following attributes:

:added_bins, the bins that were added :removed_bins, the bins that were removed :added_balls, the balls that were added :removed_balls, the balls that were removed :moved_balls, a list of ball Move structs inidicating how balls moved from one bin to another

Link to this section Summary

Link to this section Types

Specs

ball_moves() :: [BallMove.t()]

Link to this section Functions

Link to this function

diff(bin_packer, other_bin_packer)

View Source