adjust seed solving code
This commit is contained in:
parent
9ef1add7ab
commit
247576da0e
1 changed files with 2 additions and 3 deletions
|
@ -93,9 +93,8 @@ mutex = threading.Lock()
|
|||
def solve_instance(instance: hanab_game.HanabiInstance):
|
||||
# first, sanity check on running out of pace
|
||||
result = deck_analyzer.analyze(instance)
|
||||
if result is not None:
|
||||
assert type(result) == deck_analyzer.InfeasibilityReason
|
||||
logger.debug("found infeasible deck")
|
||||
if len(result) != 0:
|
||||
logger.info("found infeasible deck by foreward analysis")
|
||||
return False, None, None
|
||||
for num_remaining_cards in [0, 20]:
|
||||
# logger.info("trying with {} remaining cards".format(num_remaining_cards))
|
||||
|
|
Loading…
Reference in a new issue