OptimisationProblem/Solution.h
2023-07-17 01:19:10 +03:00

28 lines
563 B
C++

#pragma once
#include "Assignment.h"
#include <vector>
typedef std::vector<Assignment*> Assignments;
class Solution
{
private:
Assignments assignments {};
MissionList* unassignedMissions;
int totalMissions;
public:
public:
Solution(int totalMissions, MissionList* missions):
totalMissions(totalMissions), unassignedMissions(missions)
{};
void print();
void addAssignment(Assignment* assignment);
Assignments* getAssignments();
MissionList* getUnassignedMissions();
float cost();
int unassignedCount();
//void findSuitableMission(Employee*);
};