Skip to content

Commit

Permalink
final commit🙏🏽
Browse files Browse the repository at this point in the history
  • Loading branch information
Abodi-Massarwa committed Aug 8, 2024
1 parent 2c11a20 commit 993a960
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,8 @@ def helper_update_envy_graph(curr_bundles: dict, valuation_func: callable, envy_
logger.info(f"Creating envy graph for curr_bundles -> {curr_bundles}")
envy_graph.clear_edges()
envy_graph.add_nodes_from(curr_bundles.keys())
if callback:
callback(helper_generate_directed_graph_base64(envy_graph))
for agent1, bundle1 in curr_bundles.items():
for agent2, bundle_agent2 in curr_bundles.items():
if agent1 is not agent2: # make sure w're not comparing same agent to himself
Expand Down

0 comments on commit 993a960

Please sign in to comment.