OptimisationProblem/Solution.h

28 lines
563 B
C
Raw Normal View History

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