Just ignore all of these lol

This commit is contained in:
Noah L. Schrick 2022-01-30 00:09:17 -06:00
parent 4b5c500d21
commit 409aa3659d

View File

@ -165,7 +165,7 @@ void task_two(AGGenInstance &instance, int alloc, int two_alloc, boost::mpi::com
world.recv(mpi::any_source, 30, appl_exploits); world.recv(mpi::any_source, 30, appl_exploits);
world.recv(mpi::any_source, 40, current_state); world.recv(mpi::any_source, 40, current_state);
std::cout << "Node " << world.rank() << " received Task 1 data." << std::endl; std::cout << "Process " << world.rank() << " received Task 1 data." << std::endl;
std::vector<std::tuple<Exploit, AssetGroup>> partial_appl_exploits; std::vector<std::tuple<Exploit, AssetGroup>> partial_appl_exploits;
if(ttwo_comm.size() > 1) if(ttwo_comm.size() > 1)
@ -336,10 +336,12 @@ void task_two(AGGenInstance &instance, int alloc, int two_alloc, boost::mpi::com
two_alloc, current_state, exploit, assetGroup, hash_map); two_alloc, current_state, exploit, assetGroup, hash_map);
} }
} }
else else{
std::cout << "Breaking." << std::endl;
break; break;
} }
} }
}
void task_three(AGGenInstance &instance, NetworkState &new_state, std::deque<NetworkState> &localFrontier,\ void task_three(AGGenInstance &instance, NetworkState &new_state, std::deque<NetworkState> &localFrontier,\
double mem_threshold, boost::mpi::communicator &world, int two_alloc, NetworkState &current_state,\ double mem_threshold, boost::mpi::communicator &world, int two_alloc, NetworkState &current_state,\