OptimisationProblem/structures/Mission.cpp

13 lines
325 B
C++
Raw Permalink Normal View History

2023-07-17 00:19:10 +02:00
#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";
}