src/work/marci/experiment/deref_vs_optimization_lenyeg
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
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
     7
elapsed time: u: 0.78s, s: 0s, cu: 0s, cs: 0s, real: 0.851246s
marci@281
     8
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
     9
elapsed time: u: 1.02s, s: 0s, cu: 0s, cs: 0s, real: 1.12829s
marci@281
    10
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    11
elapsed time: u: 76.09s, s: 0.77s, cu: 0s, cs: 0s, real: 127.892s
marci@281
    12
marci@281
    13
marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
    14
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    15
elapsed time: u: 1.04s, s: 0.01s, cu: 0s, cs: 0s, real: 1.1643s
marci@281
    16
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    17
elapsed time: u: 0.73s, s: 0s, cu: 0s, cs: 0s, real: 1.29574s
marci@281
    18
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    19
elapsed time: u: 0.96s, s: 0.01s, cu: 0s, cs: 0s, real: 1.05265s
marci@281
    20
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    21
elapsed time: u: 72.65s, s: 0.67s, cu: 0s, cs: 0s, real: 79.8199s
marci@281
    22
marci@281
    23
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo < ../flow-1.dim
marci@281
    24
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    25
elapsed time: u: 3.04s, s: 0.01s, cu: 0s, cs: 0s, real: 3.09736s
marci@281
    26
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    27
elapsed time: u: 2.22s, s: 0.02s, cu: 0s, cs: 0s, real: 2.26504s
marci@281
    28
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    29
elapsed time: u: 2.88s, s: 0.01s, cu: 0s, cs: 0s, real: 3.03116s
marci@281
    30
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    31
elapsed time: u: 201.69s, s: 0.08s, cu: 0s, cs: 0s, real: 203.99s
marci@281
    32
marci@281
    33
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
    34
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    35
elapsed time: u: 3s, s: 0.04s, cu: 0s, cs: 0s, real: 3.19728s
marci@281
    36
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    37
elapsed time: u: 2.21s, s: 0.03s, cu: 0s, cs: 0s, real: 2.25725s
marci@281
    38
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    39
elapsed time: u: 2.82s, s: 0s, cu: 0s, cs: 0s, real: 2.83294s
marci@281
    40
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    41
elapsed time: u: 203.39s, s: 0.07s, cu: 0s, cs: 0s, real: 204.401s
marci@281
    42
marci@281
    43
-03:
marci@281
    44
marci@281
    45
marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo < ../flow-1.dim
marci@281
    46
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    47
elapsed time: u: 0.36s, s: 0.01s, cu: 0s, cs: 0s, real: 1.13854s
marci@281
    48
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    49
elapsed time: u: 0.23s, s: 0s, cu: 0s, cs: 0s, real: 0.243452s
marci@281
    50
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    51
elapsed time: u: 0.32s, s: 0.01s, cu: 0s, cs: 0s, real: 0.339224s
marci@281
    52
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    53
elapsed time: u: 26.98s, s: 0.29s, cu: 0s, cs: 0s, real: 32.2458s
marci@281
    54
marci@281
    55
marci@karp:~/etik-ol/src/demo/marci/experiment$ ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
    56
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    57
elapsed time: u: 0.37s, s: 0.01s, cu: 0s, cs: 0s, real: 0.402523s
marci@281
    58
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    59
elapsed time: u: 0.22s, s: 0s, cu: 0s, cs: 0s, real: 0.244878s
marci@281
    60
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    61
elapsed time: u: 0.32s, s: 0.01s, cu: 0s, cs: 0s, real: 0.353093s
marci@281
    62
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    63
elapsed time: u: 27.02s, s: 0.34s, cu: 0s, cs: 0s, real: 30.0516s
marci@281
    64
marci@281
    65
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo < ../flow-1.dim
marci@281
    66
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    67
elapsed time: u: 0.91s, s: 0.01s, cu: 0s, cs: 0s, real: 0.938415s
marci@281
    68
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    69
elapsed time: u: 0.61s, s: 0.01s, cu: 0s, cs: 0s, real: 0.62244s
marci@281
    70
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    71
elapsed time: u: 0.88s, s: 0s, cu: 0s, cs: 0s, real: 0.914984s
marci@281
    72
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    73
elapsed time: u: 66.55s, s: 0.09s, cu: 0s, cs: 0s, real: 67.5525s
marci@281
    74
marci@281
    75
marci@linux:~/etik-ol/src/demo/marci/experiment> ./edmonds_karp_demo_1 < ../flow-1.dim
marci@281
    76
edmonds karp demo (physical blocking flow augmentation)...
marci@281
    77
elapsed time: u: 0.85s, s: 0s, cu: 0s, cs: 0s, real: 0.858786s
marci@281
    78
edmonds karp demo (physical blocking flow 1 augmentation)...
marci@281
    79
elapsed time: u: 0.58s, s: 0.03s, cu: 0s, cs: 0s, real: 0.61541s
marci@281
    80
edmonds karp demo (on-the-fly blocking flow augmentation)...
marci@281
    81
elapsed time: u: 0.85s, s: 0s, cu: 0s, cs: 0s, real: 0.85847s
marci@281
    82
edmonds karp demo (on-the-fly shortest path augmentation)...
marci@281
    83
elapsed time: u: 66.71s, s: 0.06s, cu: 0s, cs: 0s, real: 68.0292s