mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-12-27 21:07:53 +00:00
Remove unused ORAM request_therapist
This commit is contained in:
parent
35540af207
commit
d970b4c35c
|
@ -63,11 +63,8 @@ class Matchmaker:
|
|||
self.paired_patients = \
|
||||
self.oram_type(self.N, entry_size=log2(self.N),
|
||||
init_rounds=0, value_type=self.basic_type)
|
||||
request_therapist = \
|
||||
self.oram_type(self.N, entry_size=log2(self.N),
|
||||
init_rounds=0, value_type=self.basic_type)
|
||||
self.unpaired = OStack(self.N, oram_type=self.oram_type,
|
||||
int_type=self.int_type)
|
||||
int_type=self.int_type)
|
||||
|
||||
@for_range(init_rounds)
|
||||
def _(i):
|
||||
|
@ -96,7 +93,6 @@ class Matchmaker:
|
|||
print_ln('run out of acceptable therapists')
|
||||
crash()
|
||||
|
||||
request_therapist[patient] = therapist.read()
|
||||
self.request_therapist(patient, therapist.read(), True)
|
||||
print_ln('patient: %s, pref: %s, left: %s',
|
||||
*(x.reveal() for x in (patient, pref, self.unpaired.size)))
|
||||
|
|
Loading…
Reference in a new issue