Module I_IntVector

module I_IntVector: sig .. end
Vector Clocks.

An integer vector where each replica is restricted to incrementing its own index i. This index is generated at random and assigned to a numsite value when calling make () or make_in_range n. All subsequent calls to update operations will only act on the position noted by numsite.

By default, Immutable_types.Mergeable.make just calls Immutable_types.IVector.make_in_range n with n = 11. You can override this by calling make_in_range directly.


include Immutable_types.IVector
A Vector Clock is a Immutable_types.IVector with type elt = int list