OptimisationProblem/structures/Mission.cpp
2023-07-17 01:19:10 +03:00

13 lines
325 B
C++

#include "Mission.h"
#include <iostream>
int Mission::getDuration()
{
return this->end - this->start;
}
void Mission::print()
{
std::cout << "[" << this->id << "] " << this->profession << " " << this->competence << " (" << this->day << ": " << this->start << " - " << this->end << ": " << this->getDuration() << ")\n";
}