Skip to content

Commit

Permalink
#386: fix bad variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
tlamonthezie committed Jun 6, 2023
1 parent f3d50e1 commit e2fa20d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lbaf/Execution/lbsBruteForceAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ def execute(self, p_id: int, phases: list, distributions: dict, statistics: dict
objects = []

initial_phase = phases[min(phases.keys())]
phase_ranks = initial_phase.get_ranks()
objects = initial_phase.get_objects()

# Initialize quantities of interest
n_arrangements = 0
w_min_max = math.inf
a_min_max = []
n_ranks = len(initial_phase.get_ranks())
n_ranks = len(phase_ranks)

# Compute all possible arrangements with repetition and minimax work
for arrangement in itertools.product(range(n_ranks), repeat=len(objects)):
Expand Down

0 comments on commit e2fa20d

Please sign in to comment.