Commit 9fc1ba69 authored by caminha's avatar caminha
Browse files

adjust parameter names for nas scenario and app scenario

parent 30a38c24
......@@ -86,9 +86,9 @@ main(int argc, char *argv[])
ofstream outputFile;
outputFile.open("parameters.txt", ios::trunc);
BOOST_ASSERT_MSG(outputFile.is_open(), "Failed to open output file!!!");
if (appScenario == "RandomTrees")outputFile << "NasScenario\tRandom Trees" << std::endl;
else outputFile << "NasScenario\tDirect Subscriptions" << std::endl;
outputFile << "NasScenario\t" << appScenario << std::endl;
outputFile << "NasScenario\tRandomDomains" << std::endl;
if (appScenario == "RandomTrees")outputFile << "AppScenario\tRandom Trees" << std::endl;
else outputFile << "AppScenario\tDirect Subscriptions" << std::endl;
outputFile << "nSystems\t" << nSystems << std::endl;
outputFile << "nExtraEdges\t" << nExtraEdges << std::endl;
outputFile << "nConsumers\t" << nConsumers << std::endl;
......@@ -171,6 +171,7 @@ main(int argc, char *argv[])
Simulator::Stop(tSimulationTime);
Simulator::Run();
Simulator::Destroy();
return 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment