Behaviours: s2_gen_lattice.
References
index() = term()
abstract datatype: vclock()
| compare/2 | compare(C1, C2) is C1's relation to C2. |
| increment/2 | Equivalent to update / 2. |
| is_vclock/1 | is_vclock(X) is true iff X is a vclock. |
| merge/2 | merge(C1, C2) is the LUB of C1 and C2. |
| new/0 | new() is a fresh vclock. |
| pp/1 | pp(C) is the string-representation of C. |
| prune/2 | prune(C, Pred) is C with all entries for which Pred returns true removed. |
| size/1 | size(C) is the number of entries in C. |
| update/2 | update(C, Idx) is C with Idx's entry incremented by one. |
| value/1 | value(C) is the sum of the entries in C. |
compare(C1::vclock(), C2::vclock()) -> s2_gen_lattice:relation()
compare(C1, C2) is C1's relation to C2.
Equivalent to update / 2.
is_vclock(X::term()) -> boolean()
is_vclock(X) is true iff X is a vclock.
merge(C1, C2) is the LUB of C1 and C2.
new() -> vclock()
new() is a fresh vclock.
pp(C::vclock()) -> string()
pp(C) is the string-representation of C.
prune(C, Pred) is C with all entries for which Pred returns true removed.
size(C::vclock()) -> non_neg_integer()
size(C) is the number of entries in C.
update(C, Idx) is C with Idx's entry incremented by one.
value(C::vclock()) -> no_return()
value(C) is the sum of the entries in C.
Generated by EDoc