src/work/marci/experiment/deref_vs_optimization
author deba
Wed, 08 Sep 2004 12:06:45 +0000
changeset 822 88226d9fe821
permissions -rw-r--r--
The MapFactories have been removed from the code because
if we use macros then they increases only the complexity.

The pair iterators of the maps are separeted from the maps.

Some macros and comments has been changed.
marci@281
     1
-O0:
marci@281
     2
marci@281
     3
marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo < ../flow-1.dim
marci@281
     4
edmonds karp demo (physical blocking flow augmentation)...
marci@281
     5
elapsed time: u: 1.11s, s: 0.02s, cu: 0s, cs: 0s, real: 1.23456s
marci@281
     6
number of augmentation phases: 3
marci@281
     7
flow value: 6068
marci@281
     8
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
     9
elapsed time: u: 0.78s, s: 0s, cu: 0s, cs: 0s, real: 0.851246s
marci@281
    10
number of augmentation phases: 3
marci@281
    11
flow value: 6068
marci@281
    12
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    13
elapsed time: u: 1.02s, s: 0s, cu: 0s, cs: 0s, real: 1.12829s
marci@281
    14
number of augmentation phases: 3
marci@281
    15
flow value: 6068
marci@281
    16
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    17
elapsed time: u: 76.09s, s: 0.77s, cu: 0s, cs: 0s, real: 127.892s
marci@281
    18
number of augmentation phases: 1854
marci@281
    19
flow value: 6068
marci@281
    20
marci@281
    21
marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
    22
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    23
elapsed time: u: 1.04s, s: 0.01s, cu: 0s, cs: 0s, real: 1.1643s
marci@281
    24
number of augmentation phases: 3
marci@281
    25
flow value: 6068
marci@281
    26
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    27
elapsed time: u: 0.73s, s: 0s, cu: 0s, cs: 0s, real: 1.29574s
marci@281
    28
number of augmentation phases: 3
marci@281
    29
flow value: 6068
marci@281
    30
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    31
elapsed time: u: 0.96s, s: 0.01s, cu: 0s, cs: 0s, real: 1.05265s
marci@281
    32
number of augmentation phases: 3
marci@281
    33
flow value: 6068
marci@281
    34
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    35
elapsed time: u: 72.65s, s: 0.67s, cu: 0s, cs: 0s, real: 79.8199s
marci@281
    36
number of augmentation phases: 1854
marci@281
    37
flow value: 6068
marci@281
    38
marci@281
    39
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo < ../flow-1.dim
marci@281
    40
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    41
elapsed time: u: 3.04s, s: 0.01s, cu: 0s, cs: 0s, real: 3.09736s
marci@281
    42
number of augmentation phases: 3
marci@281
    43
flow value: 6068
marci@281
    44
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    45
elapsed time: u: 2.22s, s: 0.02s, cu: 0s, cs: 0s, real: 2.26504s
marci@281
    46
number of augmentation phases: 3
marci@281
    47
flow value: 6068
marci@281
    48
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    49
elapsed time: u: 2.88s, s: 0.01s, cu: 0s, cs: 0s, real: 3.03116s
marci@281
    50
number of augmentation phases: 3
marci@281
    51
flow value: 6068
marci@281
    52
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    53
elapsed time: u: 201.69s, s: 0.08s, cu: 0s, cs: 0s, real: 203.99s
marci@281
    54
number of augmentation phases: 1854
marci@281
    55
flow value: 6068
marci@281
    56
marci@281
    57
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
    58
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    59
elapsed time: u: 3s, s: 0.04s, cu: 0s, cs: 0s, real: 3.19728s
marci@281
    60
number of augmentation phases: 3
marci@281
    61
flow value: 6068
marci@281
    62
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    63
elapsed time: u: 2.21s, s: 0.03s, cu: 0s, cs: 0s, real: 2.25725s
marci@281
    64
number of augmentation phases: 3
marci@281
    65
flow value: 6068
marci@281
    66
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    67
elapsed time: u: 2.82s, s: 0s, cu: 0s, cs: 0s, real: 2.83294s
marci@281
    68
number of augmentation phases: 3
marci@281
    69
flow value: 6068
marci@281
    70
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    71
elapsed time: u: 203.39s, s: 0.07s, cu: 0s, cs: 0s, real: 204.401s
marci@281
    72
number of augmentation phases: 1854
marci@281
    73
flow value: 6068
marci@281
    74
marci@281
    75
-03:
marci@281
    76
marci@281
    77
marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo < ../flow-1.dim
marci@281
    78
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    79
elapsed time: u: 0.36s, s: 0.01s, cu: 0s, cs: 0s, real: 1.13854s
marci@281
    80
number of augmentation phases: 3
marci@281
    81
flow value: 6068
marci@281
    82
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    83
elapsed time: u: 0.23s, s: 0s, cu: 0s, cs: 0s, real: 0.243452s
marci@281
    84
number of augmentation phases: 3
marci@281
    85
flow value: 6068
marci@281
    86
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    87
elapsed time: u: 0.32s, s: 0.01s, cu: 0s, cs: 0s, real: 0.339224s
marci@281
    88
number of augmentation phases: 3
marci@281
    89
flow value: 6068
marci@281
    90
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    91
elapsed time: u: 26.98s, s: 0.29s, cu: 0s, cs: 0s, real: 32.2458s
marci@281
    92
number of augmentation phases: 1854
marci@281
    93
flow value: 6068
marci@281
    94
marci@281
    95
marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
    96
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    97
elapsed time: u: 0.37s, s: 0.01s, cu: 0s, cs: 0s, real: 0.402523s
marci@281
    98
number of augmentation phases: 3
marci@281
    99
flow value: 6068
marci@281
   100
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
   101
elapsed time: u: 0.22s, s: 0s, cu: 0s, cs: 0s, real: 0.244878s
marci@281
   102
number of augmentation phases: 3
marci@281
   103
flow value: 6068
marci@281
   104
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
   105
elapsed time: u: 0.32s, s: 0.01s, cu: 0s, cs: 0s, real: 0.353093s
marci@281
   106
number of augmentation phases: 3
marci@281
   107
flow value: 6068
marci@281
   108
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
   109
elapsed time: u: 27.02s, s: 0.34s, cu: 0s, cs: 0s, real: 30.0516s
marci@281
   110
number of augmentation phases: 1854
marci@281
   111
flow value: 6068
marci@281
   112
marci@281
   113
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo < ../flow-1.dim
marci@281
   114
edmonds karp demo (physical blocking flow augmentation)...
marci@281
   115
elapsed time: u: 0.91s, s: 0.01s, cu: 0s, cs: 0s, real: 0.938415s
marci@281
   116
number of augmentation phases: 3
marci@281
   117
flow value: 6068
marci@281
   118
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
   119
elapsed time: u: 0.61s, s: 0.01s, cu: 0s, cs: 0s, real: 0.62244s
marci@281
   120
number of augmentation phases: 3
marci@281
   121
flow value: 6068
marci@281
   122
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
   123
elapsed time: u: 0.88s, s: 0s, cu: 0s, cs: 0s, real: 0.914984s
marci@281
   124
number of augmentation phases: 3
marci@281
   125
flow value: 6068
marci@281
   126
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
   127
elapsed time: u: 66.55s, s: 0.09s, cu: 0s, cs: 0s, real: 67.5525s
marci@281
   128
number of augmentation phases: 1854
marci@281
   129
flow value: 6068
marci@281
   130
marci@281
   131
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
   132
edmonds karp demo (physical blocking flow augmentation)...
marci@281
   133
elapsed time: u: 0.85s, s: 0s, cu: 0s, cs: 0s, real: 0.858786s
marci@281
   134
number of augmentation phases: 3
marci@281
   135
flow value: 6068
marci@281
   136
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
   137
elapsed time: u: 0.58s, s: 0.03s, cu: 0s, cs: 0s, real: 0.61541s
marci@281
   138
number of augmentation phases: 3
marci@281
   139
flow value: 6068
marci@281
   140
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
   141
elapsed time: u: 0.85s, s: 0s, cu: 0s, cs: 0s, real: 0.85847s
marci@281
   142
number of augmentation phases: 3
marci@281
   143
flow value: 6068
marci@281
   144
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
   145
elapsed time: u: 66.71s, s: 0.06s, cu: 0s, cs: 0s, real: 68.0292s
marci@281
   146
number of augmentation phases: 1854
marci@281
   147
flow value: 6068