Browse Source

Update abducer_base.py

pull/3/head
troyyyyy GitHub 3 years ago
parent
commit
6d247b41fb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      abducer/abducer_base.py

+ 1
- 1
abducer/abducer_base.py View File

@@ -73,7 +73,7 @@ class AbducerBase(abc.ABC):


def zoopt_address_score(self, pred_res, key, address_idx):
candidates = self.kb.address_by_idx2(pred_res, key, address_idx)
candidates = self.kb.address_by_idx(pred_res, key, address_idx)
return 0 if len(candidates) > 0 else 1
def constraint_address_num(self, solution, max_address_num):


Loading…
Cancel
Save