CS代写 import numpy as np

import numpy as np
import pandas as pd

def read_srp_input_data(csv_file):

Copyright By PowCoder代写 加微信 powcoder

read the given data file by pandas
input_data=pd.read_csv(csv_file)

return input_data

#######################
# main function
def findPath(input_data):
Keyword arguments: the input_data

Returns: unvisited_ships–list of ships which cannot be visited
visited_ships — list of visited cruise ships
total_time–total time to visit all ships

total_time = 0
visited_ships = []
unvisited_ships =[]

return unvisited_ships, visited_ships, total_time

# You can write additional functions in needed.

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com