Commit cb279d6c authored by EYRAUD-DUBOIS Lionel's avatar EYRAUD-DUBOIS Lionel

Tweak the output for more precision

parent 7be4d5d9
......@@ -114,7 +114,7 @@ void displayAlgResult(ProgramOptions& progOpt, Instance* instance,
cout << " " << instance->platformFile;
else
cout << " " << "NA" ;
cout << " " << result.name;
cout << " False " << result.name;
if(result.makespan > 0)
cout << " " << result.makespan;
else
......@@ -208,7 +208,7 @@ int main(int argc, char** argv) {
if((progOpt.outputNamesRaw == 0) && (!progOpt.noHeader)) {
// Output header
cout << "input " << "algorithm " << "platform ";
cout << "input " << "platform " << "isBound " << "algorithm ";
for(string s: progOpt.optionKeys)
cout << s << " ";
cout << "mkspan" << " " << "time";
......@@ -292,10 +292,11 @@ int main(int argc, char** argv) {
auto time = chrono::duration_cast<chrono::milliseconds>(chrono::steady_clock::now() - start);
// auto duration =
cout << input_file << " " << (instance->platformFile != "" ? instance->platformFile: "NA");
cout << " " << name << " " << result << " " << time.count();
cout << " True " << name << " " << result << " " << time.count();
} catch (int e) {
auto time = chrono::duration_cast<chrono::milliseconds>(chrono::steady_clock::now() - start);
cout << input_file << " " << name << " " << "NA" << " " <<
cout << input_file << " " << (instance->platformFile != "" ? instance->platformFile: "NA");
cout << " True " << name << " " << "NA" << " " <<
time.count();
}
......
Markdown is supported
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