-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathmode1.py
30 lines (25 loc) · 867 Bytes
/
mode1.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from island import Island
class Mode1Navigator:
"""
Student-TODO: short paragraph as per https://edstem.org/au/courses/12108/lessons/42810/slides/294117
"""
def __init__(self, islands: list[Island], crew: int) -> None:
"""
Student-TODO: Best/Worst Case
"""
raise NotImplementedError()
def select_islands(self) -> list[tuple[Island, int]]:
"""
Student-TODO: Best/Worst Case
"""
raise NotImplementedError()
def select_islands_from_crew_numbers(self, crew_numbers: list[int]) -> list[float]:
"""
Student-TODO: Best/Worst Case
"""
raise NotImplementedError()
def update_island(self, island: Island, new_money: float, new_marines: int) -> None:
"""
Student-TODO: Best/Worst Case
"""
raise NotImplementedError()