Changing tags

This commit is contained in:
Noah L. Schrick 2022-01-30 20:08:34 -06:00
parent 7b35242546
commit 4749993afb
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@ -508,8 +508,8 @@ AGGenInstance &AGGen::generate(bool batch_process, int batch_size, int numThrd,
One, need to listen for Updates to instances.facts
MPI TAGS:
Tag 2 = Task 2 is done
Tag 3 = New fact
Tag 4 = Hash New State
Tag 3 = New state
Tag 4 = New fact
Tag 5 = Critical New State
*/
//If we haven't been told that task 2 is finished, and if we still more facts or states to update:
@ -535,8 +535,8 @@ AGGenInstance &AGGen::generate(bool batch_process, int batch_size, int numThrd,
NetworkState new_state;
Quality fact;
world.recv(mpi::any_source, 3, fact);
world.recv(mpi::any_source, 4, new_state);
world.recv(mpi::any_source, 3, new_state);
world.recv(mpi::any_source, 4, fact);
instance.facts.hash_table[new_state.compound_assign(fact)]=instance.facts.size();
instance.facts.length++;