@staticmethod
def TSP(chromosome, matrix):
    """
		Specific to Travelling Salesman Problem
		Calculates fitness score of a chromosome as sum of distances between each adjacent city in given chromosome

		Parameters :
		-----------
		chromosome : list
					Sequence of cities to be visited in order
		matrix : 2D list
					Gives distances between cities
		
		Returns :
		----------
		Fitness score 
		
		"""
    total = 0
    for i in range(len(chromosome) - 1):
        total += matrix[chromosome[i]][chromosome[i + 1]]
    return total
