Skip to content
Snippets Groups Projects
Select Git revision
  • 2bcc55ec96b1eab077097bc2abcf5dd75d731d61
  • master default protected
2 results

BugException.java

Blame
  • Forked from Tim Miller / SWEN90006-A1-2018
    Source project has a limited visibility.
    out4 5.98 KiB
    # 
    #           .-'-._.-'-._.-'-._.-'-.
    #          |     |     |     |     | 
    #        .-'-._.-'-._.-'-._.-'-._.-'-.
    #       |     |     |     |     |     | 
    #     .-'-._.-'-._.-'-._.-'-._.-'-._.-'-.
    #    |     |     |  p  |     |     |  b  | 
    #  .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-.
    # |  p  |     |  b  |  p  |     |     |     | 
    # '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'
    #    |     |  p  |  b  |     |  b  |     | 
    #    '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'
    #       |     |     |     |     |     | 
    #       '-._.-'-._.-'-._.-'-._.-'-._.-'
    #          |     |     |     |     |
    #          '-._.-'-._.-'-._.-'-._.-'
    MOVE from (-3, 0) to (-2, 0).
    MOVE from (-2, 0) to (-1, -1).
    JUMP from (-1, -1) to (1, -1).
    JUMP from (-2, 1) to (0, 1).
    JUMP from (0, -1) to (2, -1).
    JUMP from (0, 1) to (2, 1).
    JUMP from (0, 0) to (2, -2).
    JUMP from (1, -1) to (3, -3).
    EXIT from (3, -3).
    MOVE from (2, 1) to (3, 0).
    EXIT from (3, 0).
    MOVE from (2, -1) to (3, -2).
    EXIT from (3, -2).
    MOVE from (2, -2) to (3, -3).
    EXIT from (3, -3).
             568057445 function calls (483975328 primitive calls) in 241.139 seconds
    
       Ordered by: internal time
    
       ncalls  tottime  percall  cumtime  percall filename:lineno(function)
    71237512/79022   82.996    0.000  213.082    0.003 copy.py:132(deepcopy)
    145111869   20.880    0.000   20.880    0.000 {method 'get' of 'dict' objects}
    5273690/1582107   16.499    0.000  190.758    0.000 copy.py:210(_deepcopy_list)
    4695044/79022   15.684    0.000  212.355    0.003 copy.py:268(_reconstruct)
      5026161   12.114    0.000   30.281    0.000 copy.py:219(_deepcopy_tuple)
         1509   11.717    0.008   22.342    0.015 {built-in method _heapq.heapify}
     43876398   10.721    0.000   10.721    0.000 Board.py:37(__lt__)
    4695044/79022   10.654    0.000  211.468    0.003 copy.py:236(_deepcopy_dict)
    105670251   10.594    0.000   10.594    0.000 {built-in method builtins.id}
     14663778    7.589    0.000   10.837    0.000 copy.py:252(_keep_alive)
     47712449    5.137    0.000    5.137    0.000 {method 'append' of 'list' objects}
     49489374    4.713    0.000    4.713    0.000 copy.py:190(_deepcopy_atomic)
      4695044    4.655    0.000    4.655    0.000 {method '__reduce_ex__' of 'object' objects}
      9390088    4.175    0.000    4.175    0.000 {built-in method builtins.getattr}
      5026161    3.711    0.000   17.685    0.000 copy.py:220(<listcomp>)
      4695047    3.074    0.000    3.074    0.000 {built-in method builtins.hasattr}
      9390088    2.572    0.000    9.921    0.000 copy.py:273(<genexpr>)
      4695044    2.319    0.000    3.128    0.000 copyreg.py:87(__newobj__)
      9397928    1.886    0.000    1.886    0.000 {built-in method builtins.isinstance}
         7745    1.809    0.000  215.417    0.028 game2.py:206(getNeighbors)
            1    1.714    1.714  241.036  241.036 game2.py:58(A_Star)
      4695044    1.467    0.000    1.467    0.000 {method 'update' of 'dict' objects}
      4695044    0.810    0.000    0.810    0.000 {built-in method __new__ of type object at 0x9e3d20}
      4695044    0.804    0.000    0.804    0.000 {built-in method builtins.issubclass}
      4695044    0.778    0.000    0.778    0.000 {method 'items' of 'dict' objects}
      1010061    0.714    0.000    0.922    0.000 Board.py:71(distance)
        37241    0.425    0.000    1.346    0.000 game2.py:177(heuristic)
       201026    0.268    0.000    0.268    0.000 Board.py:64(move)
      3030183    0.207    0.000    0.207    0.000 {built-in method builtins.abs}
         7745    0.202    0.000    0.214    0.000 Board.py:41(getMoves)
            1    0.103    0.103  241.139  241.139 game2.py:16(main)
         7746    0.056    0.000    0.122    0.000 {built-in method _heapq.heappop}
        35731    0.047    0.000    0.076    0.000 {built-in method _heapq.heappush}
       187282    0.042    0.000    0.042    0.000 {built-in method builtins.len}
         7746    0.004    0.000    0.004    0.000 game2.py:188(checkGoal)
         2206    0.001    0.000    0.001    0.000 {method 'remove' of 'list' objects}
            1    0.000    0.000    0.000    0.000 {built-in method io.open}
            1    0.000    0.000    0.000    0.000 game2.py:258(print_board)
           16    0.000    0.000    0.000    0.000 {built-in method builtins.print}
            1    0.000    0.000    0.000    0.000 game2.py:195(retrace)
            1    0.000    0.000    0.000    0.000 game2.py:245(make_bdict)
            1    0.000    0.000    0.000    0.000 game2.py:328(<listcomp>)
            1    0.000    0.000    0.000    0.000 decoder.py:345(raw_decode)
           15    0.000    0.000    0.000    0.000 {method 'insert' of 'list' objects}
            1    0.000    0.000    0.000    0.000 {method 'read' of '_io.TextIOWrapper' objects}
            3    0.000    0.000    0.000    0.000 copyreg.py:96(_slotnames)
            1    0.000    0.000    0.000    0.000 __init__.py:274(load)
            1    0.000    0.000    0.000    0.000 {method 'format' of 'str' objects}
            2    0.000    0.000    0.000    0.000 {method 'match' of '_sre.SRE_Pattern' objects}
            1    0.000    0.000    0.000    0.000 __init__.py:302(loads)
            1    0.000    0.000    0.000    0.000 decoder.py:334(decode)
            1    0.000    0.000    0.000    0.000 codecs.py:318(decode)
            8    0.000    0.000    0.000    0.000 {method 'center' of 'str' objects}
            1    0.000    0.000    0.000    0.000 {built-in method _locale.nl_langinfo}
            3    0.000    0.000    0.000    0.000 {method 'get' of 'mappingproxy' objects}
            4    0.000    0.000    0.000    0.000 Piece.py:2(__init__)
            4    0.000    0.000    0.000    0.000 Block.py:2(__init__)
            1    0.000    0.000    0.000    0.000 codecs.py:308(__init__)
            1    0.000    0.000    0.000    0.000 _bootlocale.py:23(getpreferredencoding)
            2    0.000    0.000    0.000    0.000 {method 'end' of '_sre.SRE_Match' objects}
            1    0.000    0.000    0.000    0.000 {built-in method _codecs.utf_8_decode}
            1    0.000    0.000    0.000    0.000 {method 'startswith' of 'str' objects}
            1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
            1    0.000    0.000    0.000    0.000 codecs.py:259(__init__)