Skip to content

Commit

Permalink
comments out 0 neighbor optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-prodbase committed Sep 6, 2023
1 parent 2fe8729 commit a2440fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Agent/Agent.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public boolean hasStrategyChanged(){
* Reads messages from neighbors, picks a strategy, sends decisions, and triggers the next agent.
*/
public void run(){
if(neighbors.isEmpty()) return;
// if(neighbors.isEmpty()) return;

/* 1. Wait for play message, and read messages for neighbors */
readMessages();
Expand Down
2 changes: 1 addition & 1 deletion src/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import Logger.*;

public class Main {
private static final int NUMBER_OF_GAMES = 10;
private static final int NUMBER_OF_GAMES = 100;

private static final Logger logger = new Logger("Main");

Expand Down

0 comments on commit a2440fa

Please sign in to comment.