Nehany folyamalgoritmus futasi ideje, azzal a kozponti kerdessel, hogy a sok dereferalas
authormarci
Wed, 31 Mar 2004 17:57:15 +0000
changeset 2726179d85566e4
parent 271 951cd01495e7
child 273 e9024dad7fc1
Nehany folyamalgoritmus futasi ideje, azzal a kozponti kerdessel, hogy a sok dereferalas
hasznalata/kerulese
optimalizalassal/optimalizalas nelkul
kulonbozo gepeken Celeron 600/karp
milyen futasi idoket eredmenyez.
src/work/marci/dereferalas_lenyeg
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/work/marci/dereferalas_lenyeg	Wed Mar 31 17:57:15 2004 +0000
     1.3 @@ -0,0 +1,84 @@
     1.4 +A tovabbiakban az optimalizalas -O-t jelent, a nelkul pedig -O0-t jelent
     1.5 +Az en gepemen, kb Celeron 600, 193 MB Ram, vmi ilyesmi:
     1.6 +
     1.7 +marci@linux:~/etik-ol/src/demo/marci> ./gw_vs_not < flow-1.dim
     1.8 +Optimalizalassal dereferalas nelkul:
     1.9 +edmonds karp demo (physical blocking flow augmentation)...
    1.10 +elapsed time: u: 0.85s, s: 0s, cu: 0s, cs: 0s, real: 0.853216s
    1.11 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.12 +elapsed time: u: 0.58s, s: 0.01s, cu: 0s, cs: 0s, real: 0.596862s
    1.13 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.14 +elapsed time: u: 0.84s, s: 0s, cu: 0s, cs: 0s, real: 0.842828s
    1.15 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.16 +elapsed time: u: 66.05s, s: 0.06s, cu: 0s, cs: 0s, real: 67.2388s
    1.17 +Optimalizalassal 10 dereferalassal:
    1.18 +edmonds karp demo (physical blocking flow augmentation)...
    1.19 +elapsed time: u: 0.92s, s: 0s, cu: 0s, cs: 0s, real: 0.976928s
    1.20 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.21 +elapsed time: u: 0.65s, s: 0s, cu: 0s, cs: 0s, real: 0.676874s
    1.22 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.23 +elapsed time: u: 0.88s, s: 0s, cu: 0s, cs: 0s, real: 0.891846s
    1.24 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.25 +elapsed time: u: 64.87s, s: 0.11s, cu: 0s, cs: 0s, real: 112.369s
    1.26 +
    1.27 +Optimalizalas nelkul dereferalas nelkul:
    1.28 +marci@linux:~/etik-ol/src/demo/marci> ./gw_vs_not < flow-1.dim
    1.29 +edmonds karp demo (physical blocking flow augmentation)...
    1.30 +elapsed time: u: 3.03s, s: 0s, cu: 0s, cs: 0s, real: 3.02742s
    1.31 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.32 +elapsed time: u: 2.22s, s: 0.01s, cu: 0s, cs: 0s, real: 2.22656s
    1.33 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.34 +elapsed time: u: 2.83s, s: 0s, cu: 0s, cs: 0s, real: 2.83153s
    1.35 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.36 +elapsed time: u: 201.59s, s: 0.01s, cu: 0s, cs: 0s, real: 201.769s
    1.37 +Optimalizalas nelkul 10 dereferalassal:
    1.38 +edmonds karp demo (physical blocking flow augmentation)...
    1.39 +elapsed time: u: 4.93s, s: 0.02s, cu: 0s, cs: 0s, real: 4.94956s
    1.40 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.41 +elapsed time: u: 3.4s, s: 0.02s, cu: 0s, cs: 0s, real: 3.44515s
    1.42 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.43 +elapsed time: u: 4.65s, s: 0.01s, cu: 0s, cs: 0s, real: 4.66487s
    1.44 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.45 +elapsed time: u: 343.84s, s: 0.29s, cu: 0s, cs: 0s, real: 349.499s
    1.46 +
    1.47 +Ugyanez a karp-on:
    1.48 +
    1.49 +marci@karp:~/etik-ol/src/demo/marci$ ./gw_vs_not <flow-1.dim
    1.50 +Optimalizalassal dereferalas nelkul:
    1.51 +edmonds karp demo (physical blocking flow augmentation)...
    1.52 +elapsed time: u: 0.36s, s: 0.01s, cu: 0s, cs: 0s, real: 0.381987s
    1.53 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.54 +elapsed time: u: 0.22s, s: 0s, cu: 0s, cs: 0s, real: 0.2342s
    1.55 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.56 +elapsed time: u: 0.32s, s: 0.01s, cu: 0s, cs: 0s, real: 0.326205s
    1.57 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.58 +elapsed time: u: 26.35s, s: 0.28s, cu: 0s, cs: 0s, real: 28.2115s
    1.59 +Optimalizalassal 10 dereferalassal:
    1.60 +edmonds karp demo (physical blocking flow augmentation)...
    1.61 +elapsed time: u: 0.37s, s: 0.01s, cu: 0s, cs: 0s, real: 0.385124s
    1.62 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.63 +elapsed time: u: 0.22s, s: 0.01s, cu: 0s, cs: 0s, real: 0.237324s
    1.64 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.65 +elapsed time: u: 0.32s, s: 0s, cu: 0s, cs: 0s, real: 0.448101s
    1.66 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.67 +elapsed time: u: 26.4s, s: 0.31s, cu: 0s, cs: 0s, real: 37.7664s
    1.68 +
    1.69 +marci@karp:~/etik-ol/src/demo/marci$ ./gw_vs_not <flow-1.dim
    1.70 +Optimalizalas nelkul dereferalas nelkul:
    1.71 +edmonds karp demo (physical blocking flow augmentation)...
    1.72 +elapsed time: u: 1.11s, s: 0.02s, cu: 0s, cs: 0s, real: 1.12706s
    1.73 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.74 +elapsed time: u: 0.8s, s: 0.01s, cu: 0s, cs: 0s, real: 0.823603s
    1.75 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.76 +elapsed time: u: 1.03s, s: 0.01s, cu: 0s, cs: 0s, real: 1.04539s
    1.77 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.78 +elapsed time: u: 75.12s, s: 0.88s, cu: 0s, cs: 0s, real: 79.8696s
    1.79 +Optimalizalas nelkul dereferalassal nelkul:
    1.80 +edmonds karp demo (physical blocking flow augmentation)...
    1.81 +elapsed time: u: 1.79s, s: 0.02s, cu: 0s, cs: 0s, real: 1.91172s
    1.82 +edmonds karp demo (physical blocking flow 1 augmentation)...
    1.83 +elapsed time: u: 1.25s, s: 0.02s, cu: 0s, cs: 0s, real: 1.44247s
    1.84 +edmonds karp demo (on-the-fly blocking flow augmentation)...
    1.85 +elapsed time: u: 1.76s, s: 0.02s, cu: 0s, cs: 0s, real: 1.87643s
    1.86 +edmonds karp demo (on-the-fly shortest path augmentation)...
    1.87 +elapsed time: u: 135.62s, s: 1.37s, cu: 0s, cs: 0s, real: 144.059s