1 node ag_gen
This commit is contained in:
parent
6bfe104179
commit
f4b5e433f9
@ -659,12 +659,13 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
std::cout << "Generating Attack Graph: " << std::flush;
|
||||
AGGen gen(_instance);//use AGGen class to instantiate an obj with the name gen! _instance obj as the parameter! constructor defined in ag_gen.cpp
|
||||
if(world.rank() == 0)
|
||||
postinstance = gen.generate(batch_process, batch_size, thread_count, init_qsize, alpha, world); //The method call to generate the attack graph, defined in ag_gen.cpp.
|
||||
|
||||
world.barrier();
|
||||
//Serialization Unit Testing on Postinstance Data
|
||||
serialization_unit_testing(postinstance, world);
|
||||
world.barrier();
|
||||
//serialization_unit_testing(postinstance, world);
|
||||
//world.barrier();
|
||||
std::cout << "Done\n";
|
||||
//std::cout << "# of edges " <<postinstance.edges.size()<<std::endl;
|
||||
//std::cout << "# of edge_asset_binding" <<postinstance.edges.size()<<std::endl;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user