vault backup: 2023-11-10 11:55:55
This commit is contained in:
parent
b511d7f8a7
commit
b3a6cdf38c
2 changed files with 5 additions and 2 deletions
|
@ -39,6 +39,9 @@ sig Hash {}
|
|||
|
||||
|
||||
pred insert[n : Node] {
|
||||
always n in ( Bucket.head + Bucket.head.prox)
|
||||
always n in Bucket.head or n in Node.prox
|
||||
|
||||
//if hash empty -> node to head of bucket
|
||||
n.key.hash not in Hash implies
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue