from support import cost from support import swap def consider( cities, tour, i1, i2 ) : ''' Determines whether swapping tour elements i1 and i2 produce a better tour. If so, True is returned; otherwise, False is returned and tour is left unchanged. ''' pass if ( __name__ == "__main__" ) : import test_heuristic test_heuristic.test_consider()