28 lines
563 B
C
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*);
|
||
|
|
||
|
};
|