利用者の購買心理を考慮した大型商業施設に...

180
A Clients’ Distribution Simulator in Commercial Complex by Quantifying Consumer Psychology 利用者の購買心理を考慮した大型商業施設に おける行動シミュレータの開発

Upload: hitoshi-watanabe

Post on 30-Mar-2016

244 views

Category:

Documents


2 download

DESCRIPTION

2011年度,修士論文,藤井祐輔

TRANSCRIPT

  • A Clients Distribution Simulator in Commercial Complex by Quantifying Consumer Psychology

  • ( ) ( )

  • Index

  • 2016016018020021022

    024024025

    026026027028

    030030032

    034

    015

    1 010

    011

    012

    009

    2-12-1-12-1-22-1-3web 2-1-42-1-5

    2-22-2-12-2-2

    2-32-3-12-3-22-3-3

    2-4 SimTread 2-4-1 SimTread2-4-2 SimTread2-5

    1-1

    1-2

    1-3

  • 4

    3 035036036037038

    039039040041042

    047047048049

    051051056

    061061062063

    068068069070

    071071072073074

    060

    3-13-2-13-2-23-2-3

    3-23-2-13-2-23-2-33-2-4

    3-33-3-12 3-3-23-3-3

    3-43-4-13-4-2

    4-1SimTread 4-1-14-1-2SWAgent 4-1-3

    4-2 ID 4-2-1 ID 4-2-24-2-3

    4-34-3-14-3-24-3-34-3-4

  • 5 089

    075075077079082084085086

    5-15-1-1SimTread 5-1-25-1-35-1-45-1-55-1-6

    5-25-2-15-2-25-2-35-2-4

    4-44-4-1Agent 4-4-24-4-34-4-44-4-54-4-64-4-7

    090090091092093094096

    099099103

    105106

    108

    109

    115116

    6-1

    6-2

    6

    107

  • 11-1. 1-2. 1-3. 1-4. 22-1.MT 2-2.VF 2-3.RT 2-4.

    3 VBA 3-1. VBA3-2. VBA3-3. VBA3-4. ID VBA

    .txtSimTread VectorWorks2011 () (plan.vwx) (plan.txt) (plan.mov) (plan.txt.log)VBA

    indd PDF

  • 008

  • 1

    1-1

    1-2

    1-3

    009

  • 1

    010

    1-11-1.

  • 1

    011

    1-2

    1-2.

    1-2-1.1

    1-2-1.1 1

  • 1

    012

    1-3

    1-3.

    (Agent)

    Agent

    ID

    Agent

    Agent

    Agent

    -1

    (Warp )ID

    Agent VectorWorks

    1 ID 1001 4000

    Agent ID 1001 2000

  • 1

    013

    1-3

    Agent ID 2001 3000

    Agent ID 3001 4000

    1 ID 4001 6000

    1 ID 7001 8000

    1

    Agent ID 1

    SimTread JAVA CAD Vectorworks 2010 6 4Vectorworks

    SimTread JAVA SimTread SimTread

    ( )J. 1

    0 Agent

    Agent

  • 1

    014

    1-3

    UML (Unied Modeling Language)UMLUML 2.0 13

    UML 1

    DFD (Data Flow Diagram) ; ow

  • 2

    2-1

    2-2

    2-3

    2-4

    2-5 SimTread

    015

  • 2

    016

    2-1

    2-1.

    2-1-1.1 SNS 2-1-1.2 4

    2-1-1. 2-1-1.1 1978 1978 1989 1990 1993 1993 1994 1995 1998 1999 1999 2000GIFU 2000 2000 2000 2000 2000 2002 2002 2003 2003 2004COREDO 2004 LaLa 2004 2004 2004 2005 2005 2005TOKIA 2005 2006 2006 2006 2006 2006 2007 2007 2007 2007 2007 2007 2008 2008 2008 2008 2008 SUNAMO 2008 2008 2009 2009 2009 2009 2009 2009 2009 2010 2010 2010COREDO 2010 2011 2011 2011LUMINE 2011 2011 2012VILLAGE by kurkku 2012 2012 2012 2012 2012 2015

    2-1-1.3

    2-1-1.4

    2-1-1.2

  • 2

    017

    2-1

    2000 2010 4 ( 2-1-1.56) (2-1-1.7) 2-1-1.5 2-1-1.6 2-1-1.6

    1. 1,500 2. 103. 80 1,500 4.

    2000 13 38 111 1622001 7 9 27 432002 8 18 39 652003 10 14 43 672004 10 14 54 782005 9 13 56 782006 9 15 60 842007 17 17 68 1022008 16 10 65 912009 11 16 34 612010 8 23 24 55

    2000 8.024691 23.45679 68.51852 1622001 16.27907 20.93023 62.7907 432002 12.30769 27.69231 60 652003 14.92537 20.89552 64.1791 672004 12.82051 17.94872 69.23077 782005 11.53846 16.66667 71.79487 782006 10.71429 17.85714 71.42857 842007 16.66667 16.66667 66.66667 1022008 17.58242 10.98901 71.42857 912009 18.03279 26.22951 55.7377 612010 14.54545 41.81818 43.63636 55

    2000 13 38 111 1622001 7 9 27 432002 8 18 39 652003 10 14 43 672004 10 14 54 782005 9 13 56 782006 9 15 60 842007 17 17 68 1022008 16 10 65 912009 11 16 34 612010 8 23 24 55

    2000 8.024691 23.45679 68.51852 1622001 16.27907 20.93023 62.7907 432002 12.30769 27.69231 60 652003 14.92537 20.89552 64.1791 672004 12.82051 17.94872 69.23077 782005 11.53846 16.66667 71.79487 782006 10.71429 17.85714 71.42857 842007 16.66667 16.66667 66.66667 1022008 17.58242 10.98901 71.42857 912009 18.03279 26.22951 55.7377 612010 14.54545 41.81818 43.63636 55

    2-1-1.5 SC 2-1-1.6 SC

    2-1-1.7 SC (2001 )

  • 2

    018

    2-1

    2-1-2. 2-1-2.1 2-1-2.2 2011

    2-1-2.1

    2-1-2.2

    2-1-2.1 2-1-2.2

  • 2

    019

    2-1

    2-1-2.3 2-1-2.4 2-1-2.5

    2-1-2.4

    2-1-2.5

    2-1-2.3SC

  • 2

    020

    2-1

    2-1-3. web 2-1-3.1 Amazon 2-1-3.2 DELL

    2-1-3.1

    2-1-3.2

  • 2

    021

    2-1

    SNS SNSAIDMAAISCEAS

    AIDMAAttentionInterestDesireMemoryActionAISCEASAttentionInterestSearchCompareExaminationActionShare

    2011 SIPS( 2-1-4.1)SIPS Sympathize Identify Participate Share & Spread

    2-1-4.1SIPS

    2-1-4.

  • 2

    022

    2-1

    ( ) PDF

    ( http://www.meti.go.jp/report/downloadles/ji04_10_17.pdf)SC

    SC

    10

    2-1-5.

  • 2

    023

    2-1

    ( http://www.meti.go.jp/report/downloadles/ji04_10_17.pdf) SC ( 100 )7510080655743

    ( )

  • 2

    024

    2-2

    2-2. 2-2-1. IMES IMES GPS 2-2-1.1 2-2-1.2 GPS IMES IMES

    2-2-1.2 2-2-1.1IMES

    LED

    LANLANPlaceEngine

    LAN

    IMES(GPS) GPSGPS

    RFID RFID

    QR/ QR

  • 2

    025

    2-2

    2-2-2. Wi- euclid Wi- WiFi 2-2-2.1

    ( 1) ( 2) ( 3) ( 4) ( 5) ( 6) ( 7)

    2-2-2.1euclid

  • 2

    026

    2-3

    2-3.

    ( 2-3-1.1) ( 8) ( 9) ( 10) ( 11) ( 12) (13) LRF

    2-3-1.

    1 2 3 4 5 6

    1F

    2F

    3F

    2-3-1.1

  • 2

    027

    2-3

    2-3-2. ( 14) ( 15) ( 16) ( 17) ( 18) 2-3-2.1 ( 19) ( 20) ( 21) ( 22)

    2-3-2.1

  • 2

    028

    2-3

    2-3-3. ( 23) ( 24)( 25) ( 10) ( 26) (SimTread SimWalk) ( 27)( 2-3-3.1) ( 28)( 2-3-3.2)

    2-3-3.1 2-3-3.2

  • 2

    029

    2-3

    ( 29)( 2-3-3.34)

    2-3-3.3

    2-3-3.4

  • 2

    030

    2-4SimTread

    2-4-1.SimTreadSimTread SimWalk SimTread SimWalk ( 30) 2-4-1.1 2-4-1.2 2 SimWalk

    2-4. SimTread

    2-4-1.1 2-4-1.2SimWalk

  • 2

    031

    2-4SimTread

    ( 31) SimWalk CAD 2-4-1.3 ( 32)( 33) ( 34) ( 35) ( 36)

    2-4-1.3 SimWalk

  • 2

    032

    2-4SimTread

    (37)SimWalk 2-4-2.1 2-4-2.2 5m 8m2-4-2.3

    2-4-2.SimTread

    2-4-2.2

    2-4-2.1

    2-4-2.3

  • 2

    033

    2-4SimTread

    ( 38) ( 39) 2-4-2.4 ( 2-4-2.5)

    2-4-2.4

    2-4-2.5

  • 2

    034

    2-5

    2-5.

    SimTread

    SimTread SimTread CAD

    SimTread

    SimTread ( 2-5.1)

    ( 2-5.1) VectorWorks SimTread Agent Agent SimTread Agent DB Agent Agent

    Agent

    Agent

    DB

    Agent

    Agent

    Agent

    Agent

    DB

    Agent

    Agent

    2-5.1

  • 3

    3-1

    3-2

    3-3

    3-4

    035

  • 3

    036

    3-1

    3-1. 3-1-1. 3-1-1.1

    3-1-1.1

  • 3

    037

    3-1

    3-1-2. ( MT) VenusFort( VF) ( RT)

    3 3 3-1-2.1 3

    (100)(100)

    ()

    288 210 99 VenusFort 698 295 190 1650 620 190

    0

    200

    400

    600

    800

    1000

    1200

    1400

    1600

    1800

    (

    100)

    (

    )

    MT

    VF

    RT

    (100)(100)

    ()

    288 210 99 VenusFort 698 295 190 1650 620 190

    0

    200

    400

    600

    800

    1000

    1200

    1400

    1600

    1800

    (

    100)

    (

    )

    MT

    VF

    RT

    3-1-2.1

    3-1-2.2

  • 3

    038

    3-1

    3-1-3. 20 10 ( 5 5 )

    3-1-3.1 3-1-3.2

    3-1-3.1 3-1-3.2

  • 3

    039

    3-2

    3-2-1.

    3-2-1.1MT

    3-2-1.2VF

    3-2-1.3RT

    3-2-1.1 3-2-1.3 53982091 3928 864 68681917

    3-2.

    3060 4320 39603960 8880 43204320 9240 27003360 7800 33602700 5640 3060

    56408880432078009240

    3240 9480 32404500 8220 45005040 5580 50403120 4560 31203780 8100 3780

    94808220558045608100

    4620 5760 46204320 9300 43206060 4320 60603600 4500 36003240 7320 3240

    57609300432045007320

    3928 6868 5398 864.4628 1917.357 2091.094

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    3060 4320 39603960 8880 43204320 9240 27003360 7800 33602700 5640 3060

    56408880432078009240

    3240 9480 32404500 8220 45005040 5580 50403120 4560 31203780 8100 3780

    94808220558045608100

    4620 5760 46204320 9300 43206060 4320 60603600 4500 36003240 7320 3240

    57609300432045007320

    3928 6868 5398 864.4628 1917.357 2091.094

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    3060 4320 39603960 8880 43204320 9240 27003360 7800 33602700 5640 3060

    56408880432078009240

    3240 9480 32404500 8220 45005040 5580 50403120 4560 31203780 8100 3780

    94808220558045608100

    4620 5760 46204320 9300 43206060 4320 60603600 4500 36003240 7320 3240

    57609300432045007320

    3928 6868 5398 864.4628 1917.357 2091.094

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

    0

    1000

    2000

    3000

    4000

    5000

    6000

    7000

    8000

    9000

    10000

    1 2 3 4 5

    (

    )

  • 3

    040

    3-2

    3-2-2. 3-2-2.1 3-2-2.3 276337 242174 293 393

    05 87 170 274 357 458 540610 20 39 45 63 73 891115 4 11 11 18 19 281620 1 3 5 6 6 721 2 4 6 11 13 19

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    05 87 170 274 357 458 540610 20 39 45 63 73 891115 4 11 11 18 19 281620 1 3 5 6 6 721 2 4 6 11 13 19

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    05 87 170 274 357 458 540610 20 39 45 63 73 891115 4 11 11 18 19 281620 1 3 5 6 6 721 2 4 6 11 13 19

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    050100150200250300350400450500550

    05 610 1115 1620 21

    ()

    ( )

    ( )

    3-2-2.1MT

    3-2-2.2VF

    3-2-2.3RT

  • 3

    041

    3-2

    3-2-3. 3-2-3.1 3-2-3.3 179202 229206 156 196

    05 95 197 289 385 482 577610 12 17 28 38 46 561115 0 1 2 4 6 71620 0 0 1 1 1 221 2 3 6 7 9 11

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    05 95 197 289 385 482 577610 12 17 28 38 46 561115 0 1 2 4 6 71620 0 0 1 1 1 221 2 3 6 7 9 11

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    05 95 197 289 385 482 577610 12 17 28 38 46 561115 0 1 2 4 6 71620 0 0 1 1 1 221 2 3 6 7 9 11

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    050100150200250300350400450500550600

    05 610 1115 1620 21

    ()

    3-2-3.1MT

    3-2-3.2VF

    3-2-3.3RT

  • 3

    042

    3-2

    3-2-4.

    3-2-4.1

    2 4 ( 40)

    ( 3-2-4.1)1

    A B C D DE F FG GH I J

    t

  • 3

    043

    3-2

    0 11 ( 3-2-4.2 4) 77 21 739 8028

    MT 4 5VF 4 2RT 3 5 11 12

    MT 4 1 5 0 9 1VF 4 1 2 3 6 4RT 3 2 5 0 8 2 11 4 12 3 23 7

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    MT 4 5VF 4 2RT 3 5 11 12

    MT 4 1 5 0 9 1VF 4 1 2 3 6 4RT 3 2 5 0 8 2 11 4 12 3 23 7

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    MT 4 5VF 4 2RT 3 5 11 12

    MT 4 1 5 0 9 1VF 4 1 2 3 6 4RT 3 2 5 0 8 2 11 4 12 3 23 7

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    0%10%20%30%40%50%60%70%80%90%100%

    MT VF RT

    3-2-4.2

    3-2-4.3

    3-2-4.4

  • 3

    044

    3-2

    2 3-2-4.5 7 13 6 103 167

    3-2-4.5MT

    3-2-4.6VF

    3-2-4.7RT

    13 1611 167 1110 9

    1712 356 1249

    9 713 1116 17

    1824

    110 193 10 16.08333 3.330302 7.227936 13.17391 6.46497

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    13 1611 167 1110 9

    1712 356 1249

    9 713 1116 17

    1824

    110 193 10 16.08333

    3.330302 7.227936 13.17391 6.46497

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    13 1611 167 1110 9

    1712 356 1249

    9 713 1116 17

    1824

    110 193 10 16.08333 3.330302 7.227936 13.17391 6.46497

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

    0

    5

    10

    15

    20

    25

    30

    35

    1 2 3 4 5

  • 3

    045

    3-2

    1

    3-2-4.8MT

    3-2-4.9VF

    3-2-4.10RT

    1 2 1 3-2-4.8 10 1 8 5 53 115

    7.5 107 10.251 91 6

    188 20.53 1128

    7 57.5 87 7

    4.7518.4

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4 5

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4 5

    7.5 107 10.251 91 6

    188 20.53 1128

    7 57.5 87 7

    4.7518.4

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4 5

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4 5

    7.5 107 10.251 91 6

    188 20.53 1128

    7 57.5 87 7

    4.7518.4

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4 5

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4

    0

    2

    4

    6

    8

    10

    12

    14

    16

    18

    20

    1 2 3 4 5

  • 3

    046

    3-2

    ( 3-2-4.11 13) 2.43 2.30 1.270.45 3.52.75

    2 71 42 11 2

    31 61 111

    1 12 21 1

    410

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    2 71 42 11 2

    31 61 111

    1 12 21 1

    410

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    2 71 42 11 2

    31 61 111

    1 12 21 1

    410

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    1 2 3 4 5

    3-2-4.11MT

    3-2-4.12VF

    3-2-4.13RT

  • 3

    047

    3-3

    3-3-1.2

    3-3.

    2

  • 3

    048

    3-3

    3-3-2. 10 60 50

    2010 7 12

  • 3

    049

    3-3

    3-3-3. 20 33 ( 17 16 )

    2012 1 15 1 25

    google docment web SNS

    3-3-3.1google documentweb

    web 3-3-3.1 google document 3-3-3.2 1 HP URL google document

    3-3-3.2google document web

  • 3

    050

    3-3

    3 8

    ( 3-3-3.3)

    3-3-3.3google document web

  • 3

    051

    3-4

    3-4. 3-4-1. ( 3-4-1.1) 20 ( 3-4-1.2) ( 3-4-1.3) ( )

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    3-4-1.1

    3-4-1.2

    3-4-1.3

  • 3

    052

    3-4

    ( 3-4-1.4) 1 2 1 2 ( 3-4-1.5) 1 ( 3-4-1.6) 1 1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    3060

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    3-4-1.4

    3-4-1.5

    3-4-1.6

  • 3

    053

    3-4

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    23

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    3-4-1.7

    3-4-1.8

    3-4-1.9

    ( 3-4-1.7) 1 22 3 ( 3-4-1.8) ( 3-4-1.9)

  • 3

    054

    3-4

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    45

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    3-4-1.10

    ( 3-4-1.10) ( 3-4-1.11) ( 3-4-1.12)

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    3-4-1.11

    3-4-1.12

  • 3

    055

    3-4

    3-4-1.13

    ( 3-4-1.13) ( 3-4-1.14) ( 3-4-1.15) 2 1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

    3-4-1.14

    3-4-1.15

    024681012141618

    10 20 30 40 50 60

    0

    5

    10

    15

    20

    25

    02468101214161820

    0246810121416

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    0246810121416

    30

    30

    60

    1

    2

    2

    3

    3

    4

    4

    5

    5

    1

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    (

    )

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    0

    5

    10

    15

    20

    25

    012345678910

    2

    1

    3

    1

  • 3

    056

    3-4

    3-4-2.

    3-4-2.1

    3-4-2.2

    3-4-2.12 3-4-2.2

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

  • 3

    057

    3-4

    3-4-2.3

    3-4-2.4

    3-4-2.34 ( 3-4-2.3) ( 3-4-2.4)

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

  • 3

    058

    3-4

    3-4-2.5

    3-4-2.6

    3-4-2.56 ( 3-4-2.5) ( 3-4-2.6) 0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    ()

    0%

    10%

    20%

    30%

    40%

    50%

    60%

    70%

    80%

    90%

    100%

    (

    )

  • 3

    059

    3-4

    (3-4-2.7) 3-4-2.8

    16 10 6 0 0 0 29 15 14 17 4 13 11 6 5 0 0 0 1 1 0

    23 12 11 24 13 11 6 2 4 9 5 4 9 7 2 6 5 1 4 3 1

    0 0 0

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    16 10 6 0 0 0 29 15 14 17 4 13 11 6 5 0 0 0 1 1 0

    23 12 11 24 13 11 6 2 4 9 5 4 9 7 2 6 5 1 4 3 1

    0 0 0

    0

    5

    10

    15

    20

    25

    30

    0

    5

    10

    15

    20

    25

    30

    3-4-2.7

    3-4-2.8

  • 4

    4-1

    4-2

    4-3

    4-4

    060

  • 4

    061

    4-1SimTread

    4-1.SimTread 4-1-1. SimTread Java 5 2

    simtreadsimtread.tools

    6

    simtreadSWMainSWAgentAgent SWAgentGeneratorAgent simtread.toolsSWParamListSWParamFileVectorWorks SWApplication

    ( 4-1-1.1)SimTread SWApplication SWParamFile SWParamList SWApplication SWMain SWMain SWAgentGenerator Agent SWAgent Agent SWSpace

    4-1-1.1

  • 4

    062

    4-1SimTread

    4-1-2.SWAgent SWAgent 4

    SWAgent() 1checkArrived()InitStatus()init_oneSecond()InitStatus() 1

  • 4

    063

    4-1SimTread

    4-1-3. 2

    OSWindows 7 Home Premium Servise Pack 1(64bit)CPUIntel Core i5-2540M CPU @2.60GHz (RAM)4GB

    IDEEclipse 3.7 Indigo Pleiades All in One(http://mergedoc.sourceforge.jp/)( 4-1-3.1)(Windows )Cacco( )( 4-1-3.2)

    4-1-3.1Eclipse

    4-1-3.2Cacco( )

  • 4

    064

    4-1SimTread

    Eclipse 3.7 Indigo Pleiades All in One Eclipse JRE 6 JDK 1.5.0_22 6u27 7u2MinGW 5.1.6Tomcat 5.5.33 6.0.33 7.0.21XAMPP 1.7.4Pleiades 1.3.4.I20110924JStyle 3.7.1.0Platform 3.7.1CDT 8.0.0.201109151620CVS 1.3.100.v20110520GEF 3.7.1.v20110830JDT 3.7.1.r371_v20110810Mylyn 3.6.2.v20110908PDE (Plugin Dev) 3.7.1.r37x_v20110810PDT (PHP Dev) 3.0.0.v20110516RSE SDK 3.3.1Subversive 0.7.9.I20110602Subversive JDT Ignore Extension WTP SDK - JST 3.3.1WTP SDK - WST 3.3.1AmaterasERD 1.0.8AmaterasUML 1.3.3AnyEdit tools 2.4.0CheckStyle 5.4.0DBViewer 1.2.2.v20101009DBViewer JDT 1.0.3Eclipse Color Theme 0.11.1FindBugs 1.3.9Jadclipse 3.3.0Jad 158gLimy Eclipse Plugin 1.5.5NTail 1.3.0Open External 0.7.0Quick JUnit 0.6.0QuickREx 3.5.0Tomcat Launcher 3.3.0

  • 4

    065

    4-1SimTread

    Eclipse ( 4-1-3.3) JAVA (4-1-3.4)

    4-1-3.3Eclipse Java

    4-1-3.4Eclipse

  • 4

    066

    4-1SimTread

    SimTread SimTread QuickTime 4-1-3.5 Eclipse Java ( 4-1-3.6) Jar

    4-1-3.5QTJava.zip

    4-1-3.6 Jar(QTJava.zip)

  • 4

    067

    4-1SimTread

    JAR ( 4-1-3.7) C:/Program Files/QuickTime/QTSystem/QTJava.zip QuickTime SimTread 4-1-3.8 simtread/simtread.tools/SWApplication.java SimTread

    4-1-3.7QTJava.zip

    4-1-3.8SWApplication.java

  • 4

    068

    4-2ID

    4-2. 4-2-1. SimTread ID ID ID

    ID 4-2-1.1 1000 1

    ( ) Agent Agent

    ID ID1

    21000 10012000 20013000 30014000 40015000 50016000 60017000 70018000 80019000 9001

    2

    01

    4-2-1.1

  • 4

    069

    4-2ID

    4-2-2. SimTread commandList commandList 3

    commandList wait( ) ID ID Agent

    4-2-1.2 commandList destination destination beforeDestiantionwaitDestiantion ( )

    destinationdestcommandListbeforeDestinationdestination waitDestination

    commandList

    beforeDestination

    waitDestinationdestination

    dest

    4-2-1.2

  • 4

    070

    4-2ID

    ( 4-2-3.1) Agent SWAgent

    Agent AgentLife AgentLife 0 ( ) rest_intervalTime( ) rest_marginalTime( ) shop_intervalTime( ) shop_marginalTime( ) 1

    4-2-3.

    4-2-3.1

  • 4

    071

    4-3

    4-3. 4-3-1. (chooseDestination_potential()) (currentX,currentY) ID (restList()) (potentialVal) ID (destination) doNext() ( 4-3-1.1)

    hashset ID (potentialID) ID

    4-3-1.1chooseDestination_potential()

  • 4

    072

    4-3

    4-3-2. 2

    ( ) (chooseDestination_potential())(chooseDestination_returnAction())

    chooseDestination_potential() 1.5 Agent 4 6 (popularshopList)

    chooseDestination_returnAction() 3

    ( ) (startReturnAction)(continueReturnAction) (shopNumReturnAction)

    4-3-2.1

    4-3-2.1

  • 4

    073

    4-3

    4-3-3.

    4-3-3.1

    (searchShop_realTime) 1 init_oneSecond() checkArrived() (destiantionLog) 4-3-3.1

  • 4

    074

    4-3

    4-3-4. aliveFalse() Agent 4

    aliveFalse() ( )

    Agent

  • 4

    075

    4-4

    4-4. 4-4-1.Agent Agent Agent 2

    Agent

    SWAgent SWAgent() Agent 1

    Agent

    ( )staying_marginalTime_Average( ( ))staying_marginalTime_StandardDeviation( ( ))rest_marginalTime_Average( ( ))rest_marginalTime_StandardDeviation( ( ))shop_marginalTime_Average( ( ))shop_marginalTime_StandardDeviation( ( ))rest_stayingTime_Average( ( ))rest_stayingTime_StandardDeviation( ( ))shop_stayingTime_Average( ( ))shop_stayingTime_StandardDeviation( ( ))returnAction_Ratio( )returnAction_passage_Average( ( ))returnAction_passage_StandardDeviation( ( ))returnAction_visited_Average( ( ))returnAction_visited_StandardDeviation( ( ))returnAction_number_Average( ( ))returnAction_number_StandardDeviation( ( ))

  • 4

    076

    4-4

    3 2

    ( ID1001 2000)( ID2001 3000)

    ( ID3001 4000)( ID2001 3000)

    1.3m/s 1.30.1m/s ( 11) 1.30.1m/s1.40.1m/s1.3 0.1m/s 1.2 0.1m/s

  • 4

    077

    4-4

    4-4-2. Warp Warp Warp ID 4-4-2.1 A Agent B ( ) AWarp Agent BWarp Warp

    A B

    Warp ( ) ( )Agent

    Agent Agent +6000 +6000

    A ( ) ( ) beforeDestination ( ) checkArrived() ( )

    4-4-2.1

  • 4

    078

    4-4

    4-4-2.2

    ( 4-4-2.2) beforeDestination

  • 4

    079

    4-4

    4-4-3. J. 1 6

    4-4-3.1 Agent Agent1 6m6m810mm 5m

    0 / 00.2 / 10.4 / 20.6 / 30.8 / 4

    3m3m80.88 / 4

    3m3m10.11 / 1

    4-4-3.1

  • 4

    080

    4-4

    ( ) ( ) 5

    ( ) A3.5 / (0.3 / ) B2.5 3.5 / (0.3 0.4 / ) C1.5 2.5 / (0.4 0.7 / )D1.0 1.5 / (0.7 1.0 / ) E0.5 1.0 / (1 2 / ) F0.5 / (2 / )

    ( ) A( )1.3 / (0.769 / ) B( )1.0 1.3 / (0.769 1 / ) C( )0.7 1.0 / (1 1.429 / )D( )0.3 0.7 / (1.429 3.333 / ) E( )0.2 0.3 / (3.333 5 / ) F( 0.2 / (5 / )

    Agent ( ) ( ) ( )

  • 4

    081

    4-4

    Agent ( )Agent

    Agent 1 CSV Excel

    ( ) CSV

    ( )

  • 4

    082

    4-4

    4-4-4. 100

    ( 4-4-4.1) ( ) (stayingNum_restDestination[] stayingNum_shopDestination[]) (restMarginalNum shopMarginalNum) (stayingNum_restDestination[] stayingNum_shopDestination[]) (this.name) (waitingNum_restDestination[] waitingNum_shopDestination[]) (this.name) (restWait_MarginalNum shopWait_MarginalNum) (stayingNum_restDestination[] stayingNum_shopDestination[]) (restMarginalNum shopMarginalNum) waitingNum_restDestination[] waitingNum_shopDestination[]) (restMarginalNum shopMarginalNum)

    1005

    ( )

    ( )

    1m1 2 3 4

    4-4-4.1

  • 4

    083

    4-4

    4-4-4.2 UML 4-4-4.3

    4-4-4.2

    4-4-4.3

  • 4

    084

    4-4

    4-4-5. 1 4-4-5.1

    ( 4-4-5.1) =( ( - ))/( )

    4-4-5.1

  • 4

    085

    4-4

    4-4-6. 4-4-6.1 (dummynode_walkLog[]) 1 Agent

    4-4-6.1

    Agent

    2500mm

    (near_dummynode) 2000mm(dummynode_walkLog[]) ID (beforeNear_dummynode)

  • 4

    086

    4-4

    4-4-7.

    ( ) ( ) ( )

    4-4-7.1

    4-4-7.1

  • 4

    087

    4-4

    (1/5 ) Agent

    (calculate_discontentDegree() )

    = 10+ 9+ (= ) 20

    3 100 100 100 100

    5398 276 20 1 10 5 100 20

    1,090m 1.2m/s 15 900 100 1/9 60 5 65 100 20

  • 4

    088

    4-4

    ( )( 50 agentLife ) = - (1 / (2.5 + ( / 20)))

    ( )( ) = / (1 + ( / 100))

    ( 2 1 ) = 1.0 + ( / 100)

    Agent ( 255 = ) 30 31 70 80 71 155

  • 5

    5-1SimTread

    5-2

    089

  • 5

    090

    5-1SimTread

    5-1.SimTread

    SimTreadVectorWorks5-1-1.1 5-1-1.2 .staOK

    5-1-1.SimTread

    5-1-1.1SimTread 1( )

    5-1-1.2SimTread 2( )

  • 5

    091

    5-1SimTread

    5-1-2.1 1

    5-1-2.2 2

    5-1-2.1 5-1-2.2 Agent

    5-1-2.

  • 5

    092

    5-1SimTread

    5-1-3.1 1

    5-1-3.2 2

    Agent 5-1-3.1 5-1-3.2

    5-1-3.

  • 5

    093

    5-1SimTread

    5-1-4.1

    5-1-4.2

    Agent 5-1-4.1 5-1-4.2

    5-1-4.

  • 5

    094

    5-1SimTread

    5-1-5.1 1

    5-1-5.2 2

    Agent 5-1-5.1 5-1-5.2 500mm Agent

    5-1-5.

  • 5

    095

    5-1SimTread

    5-1-5.3SimTread 11( )

    5-1-5.3 ID

  • 5

    096

    5-1SimTread

    5-1-6.1 1

    ( ) 5-1-6.1 5-1-6.2

    5-1-6.

    5-1-6.2 2

  • 5

    097

    5-1SimTread

    5-1-6.3 3

    5-1-6.3 OK 5-1-6.4

    5-1-6.4 4

  • 5

    098

    5-1SimTread

    5-1-6.5SimTread 16( )

    OK 5-1-6.5 (mov )

    plan.txtVectorWorks Eclipse plan.txt

    Area( )Dest( )GEN( )Obst( )WarpArea( )

    plan.txt or ( , , ID( ID ID) ( )4 XY

    ( )GEN INV=1 FRQ=0.5 NUM=5000 SPD=1.3 DST=9001 ST=0 E D = - 1 RGN=300,-1077,800,-1077,800,-2077,300,-2077, ( )Dest 1 7202 0 300 200 800 200 800 5 0 0 300 500 ( )

  • 5

    099

    5-2

    5-2. 5-2-1.

    63000 (21000 3 )384 (28 3 ) ( ) 44 ( 1)500 (350505050 ) (0.05 / )

    5m5-2-1.1 2

    5-2-1.1

  • 5

    100

    5-2

    1 (mov) 5-2-1.2 1 28 VBAVBA( )0 1

    0.1 0.1 0.75 0.75 0.95 0.95 1

    1F 2F 3F ID ID ID

    1 3101 1 4201 1 33012 2102 2 2202 2 23023 1103 3 2203 3 33034 4104 4 2204 4 23045 2105 5 2205 5 23056 2106 6 2206 6 23067 2107 7 3207 7 23078 2108 8 3208 8 23089 2109 9 2209 9 230910 4110 10 2210 10 131011 2111 11 2211 11 231112 3112 12 2212 12 231213 2113 13 1213 13 231314 2114 14 2214 14 331415 2115 15 3215 15 231516 2116 16 2216 16 431617 2117 17 3217 17 431718 1118 18 2218 18 231819 3119 19 2219 19 231920 2120 20 3220 20 232021 2121 21 2221 21 232122 2122 22 2222 22 232223 3123 23 1223 23 332324 2124 24 2224 24 232425 4125 25 2225 25 232526 3126 26 2226 26 132627 2127 27 2227 27 232728 2128 28 3228 28 3328

    5-2-1.2

  • 5

    101

    5-2

    5-2-1.3 5-2-1.4 ID 123VectorWorks 1/100

    5-2-1.4 ID

    5-2-1.3 ID

    1

    1

    2

    2

    3

    3

    3101 2101 1103 4104

    2105 2106 2107 2108

    4110 2111 3112 2113

    2116

    2109

    2115

    2114

    21202117 1118 3119

    2121 2122 3123 2124

    4125 3126 2127 2128

    7128 9001 9002

    9004 9003

    7125

    7122

    7119

    7116

    7113

    7110

    7107

    71048011

    8011 8011

    8011

    8021 8030 8030

    80308030

    8020

    8021

    8020

    8021

    8020

    8021

    8020

    7101

    7129

    7126

    7123

    7120

    7117

    7114

    7111

    7108

    7136

    7135

    7134

    7133

    7132

    7105 7131

    7102

    7130

    7127

    7124

    7121

    7128

    7115

    7112

    7109

    7106

    7103

    4201 2202 2203 2204

    2205 2206 3207 3208

    2210 2211 2212 1213

    2216

    2209

    3215

    2214

    32203217 2218 2219

    2221 2222 1223 2224

    2225 2226 2227 3228

    7228

    7225

    7222

    7219

    7216

    7213

    7210

    7207

    7204

    7201

    7229

    7220

    7211

    7202

    7230

    7227

    7224

    7221

    7228

    7215

    7212

    7209

    7206

    7203

    3301 2302 3303 2304

    2305 2306 2307 2308

    1310 2311 2312 2313

    4316

    2309

    2315

    3314

    23204317 2318 2319

    2321 2322 3323 2324

    2325 1326 2327 3328

    7328

    7325

    7322

    7319

    7316

    7313

    7310

    7307

    7304

    7301

    7329

    7320

    7311

    7302

    7330

    7327

    7324

    7321

    7328

    7315

    7312

    7309

    7306

    7303

    7226

    7223

    7217

    7214

    7208

    7236

    7235

    7234

    7233

    7232

    7205 7231

    7326

    7323

    7317

    7314

    7308

    7336

    7335

    7334

    7333

    7332

    7305 7331

    3101 2101 1103 4104

    2105 2106 2107 2108

    4110 2111 3112 2113

    2116

    2109

    2115

    2114

    21202117 1118 3119

    2121 2122 3123 2124

    4125 3126 2127 2128

    7128 9001 9002

    9004 9003

    7125

    7122

    7119

    7116

    7113

    7110

    7107

    71048011

    8011 8011

    80118021 8030 8030

    80308030

    8020

    8021

    8020

    80218020

    8021

    8020

    7101

    7129

    7126

    7123

    7120

    7117

    7114

    7111

    7108

    7105

    7102

    7130

    7127

    7124

    7121

    7128

    7115

    7112

    7109

    7106

    7103

    4201 2202 2203 2204

    2205 2206 3207 3208

    2210 2211 2212 1213

    2216

    2209

    3215

    2214

    32203217 2218 2219

    2221 2222 1223 2224

    2225 2226 2227 3228

    7228

    7225

    7222

    7219

    7216

    7213

    7210

    7207

    7204

    7201

    7229

    7220

    7211

    7202

    7230

    7227

    7224

    7221

    7228

    7215

    7212

    7209

    7206

    7203

    3301 2302 3303 2304

    2305 2306 2307 2308

    1310 2311 2312 2313

    4316

    2309

    2315

    3314

    23204317 2318 2319

    2321 2322 3323 2324

    2325 1326 2327 3328

    7328

    7325

    7322

    7319

    7316

    7313

    7310

    7307

    7304

    7301

    7329

    7320

    7311

    7302

    7330

    7327

    7324

    7321

    7328

    7315

    7312

    7309

    7306

    7303

    7226

    7223

    7217

    7214

    7208

    7205

    7326

    7323

    7317

    7314

    7308

    7305

  • 5

    102

    5-2

    ( )

  • 5

    103

    5-2

    5-2-2.

    5-2-2.1 ID

    5-2-2.2 ID

    5-2-2.3 ID

    5-2-2.12 ID 5-2-2.3 ID 107 120

    050100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    050

    100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    0

    50

    100

    150

    200

    250

    4104 4110 4125 4201 4316 4317

    (

    )

    ID

    050

    100150200250300350400450500

    7101

    7108

    7115

    7122

    7129

    7206

    7213

    7220

    7227

    7304

    7311

    7318

    7325

    (

    )

    ID

    0

    50100150200250300350

    (

    )

    0

    5

    10

    15

    20

    25

    30

    35

    (

    )

    050100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    050

    100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    0

    50

    100

    150

    200

    250

    4104 4110 4125 4201 4316 4317

    (

    )

    ID

    050

    100150200250300350400450500

    7101

    7108

    7115

    7122

    7129

    7206

    7213

    7220

    7227

    7304

    7311

    7318

    7325

    (

    )

    ID

    0

    50100150200250300350

    (

    )

    0

    5

    10

    15

    20

    25

    30

    35

    (

    )

    050100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )ID

    050

    100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    0

    50

    100

    150

    200

    250

    4104 4110 4125 4201 4316 4317

    (

    )

    ID

    050

    100150200250300350400450500

    7101

    7108

    7115

    7122

    7129

    7206

    7213

    7220

    7227

    7304

    7311

    7318

    7325

    (

    )

    ID

    0

    50100150200250300350

    (

    )

    0

    5

    10

    15

    20

    25

    30

    35

    (

    )

  • 5

    104

    5-2

    0

    20000

    40000

    60000

    80000

    100000

    120000

    140000

    160000

    (

    )

    0200400600800

    100012001400160018002000

    050100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    050

    100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    0

    50

    100

    150

    200

    250

    4104 4110 4125 4201 4316 4317

    (

    )

    ID

    050

    100150200250300350400450500

    7101

    7108

    7115

    7122

    7129

    7206

    7213

    7220

    7227

    7304

    7311

    7318

    7325

    (

    )

    ID

    0

    50100150200250300350

    (

    )

    0

    5

    10

    15

    20

    25

    30

    35

    (

    )

    050100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    050

    100150200250300350400450500

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    (

    )

    ID

    0

    50

    100

    150

    200

    250

    4104 4110 4125 4201 4316 4317

    (

    )

    ID

    050

    100150200250300350400450500

    7101

    7108

    7115

    7122

    7129

    7206

    7213

    7220

    7227

    7304

    7311

    7318

    7325

    (

    )

    ID

    0

    50100150200250300350

    (

    )

    0

    5

    10

    15

    20

    25

    30

    35

    (

    )

    0

    20000

    40000

    60000

    80000

    100000

    120000

    140000

    160000

    (

    )

    0200400600800

    100012001400160018002000

    5-2-2.4

    5-2-2.6

    5-2-2.5

    5-2-2.7

    5-2-2.9 ID 5-2-2.8

    5-2-2.4 5-2-2.5 5-2-2.67 5-2-2.9

    A

    B

    C

    D

    E

    F

    1

    2

    3

    4

    5

    6

  • 5

    105

    5-2

    5-2-3.

    5-2-3.1

    5-2-3.2

    5-2-3.3

    ( 5-2-3.1) ( 5-2-3.2) ( 5-2-3.3)

    0

    500

    1000

    1500

    2000

    2500

    0

    50

    100

    150

    200

    250

    300

    4104 4110 4125 4201 4316 4317

    (

    )

    ID

    0

    100

    200

    300

    400

    500

    600

    1103

    1326

    2108

    2115

    2122

    2203

    2210

    2218

    2225

    2305

    2311

    2319

    2325

    3123

    3217

    3314

    ID

  • 5

    106

    5-2

    5-2-3. 400 Agent

  • 6

    6-1

    6-2

    107

  • 6

    108

    6-1

    6-1.

    3

    (simlationmode)

  • 6

    109

    6-2

    6-2.

    VectorWorks UI

    ID 4001 6000 SWParamList 4001 5000 ( ) 5001 6000

    ( ) ID UI VectorWorks VectorWorks SimTread

    SimTread Warp Warp

  • 6

    110

    6-2

    1 1 6-2-1.12

    6-2-1.2

    6-2-1.1

    1

    1

    ( ) ID

  • 6

    111

    6-2

    6-2-1.3

    1

    2

    EV

    Warp18011

    Warp280208021

    3

    Warp38030

    Warp180208030

    Warp280118030

    Warp380118021

    6-2-1.3

    IDWarpWarpID

  • 6

    112

    6-2

    SimTread ( 6-2-1.4) 6-2-1.5 7 Agent

    Agent 1 1 Agent

    6-2-1.5 1

    6-2-1.4

    6-2-1.6 2

    6-2-1.7 3

  • 113

    2 M2 1

    3

    perl CGI C Ruby twitter Java SimTread

    Java SimTread wait(0) commandList Java SimTread

  • 114

    S ( ) ( ) ( _ ) 3 ( ) (_ _)

    ( ) 3 (_ _)

    ( ) S 2 HP web UI

    N ( ) (_ _) (^o^)

    ( ) () (^o^)

    ( ) ()

    ( ) (_ _)

    2

  • 115

    m(_ _)m

    (_ _) ( _ )

    web (_ _) ( )

    ThinkPad ThinkPad (_ _) S

    MacPro(133.9.198.95)MacPC VectorWorks

    Mac mini server (133.9.247.171) Core2Duo

    DELL PC (133.9.247.172) SimTreadPJ PC PC

    DELL (133.9.247.132)SimTread

    DELL S

  • 116

    ( 1) , , : 3 , 35(19), 53-56, 2011-05-20( 2) , : . .,PRMU, 108(484), 293-298, 2009-03-06( 3) , : TOMBO ( ), 34(19), 9-12, 2010-05-31( 4) , : , . CVIM, [ ] 2005(112), 33-38, 2005-11-17( 5) 1, . E-1,p.655,2011 ( 6) 2, . E-1,p.657,2011 ( 7) 3, . E-1,p.659,2011 ( 8) , , , . E, , 1990, 825-826, 1990-09-01( 9) , , , ( , I), . E-1, I, , , , , 2004, 807-808, 2004-07-31( 10) , , ( , I), . E-1, I, , , , , 2005, 893-894, 2005-07-31( 11) , , ( ,I), . E-1, I, , , , , 2008, 567-568, 2008-07-20( 12) , , , ( (2), I), . E-1, I, , , , , 2005, 1185-1186, 2005-07-31( 13) , , , , , , , :LRF (ITS , , ), 35(9),233-238,2011-02-14

    ( )

  • 117

    ( 14) , , , , II, (79), 45-48, 2009-03-28( 15) , , , . E, , 1994, 1049-1050, 1994-07-25( 16) , , II, (71), 101-104, 2001-03-05( 17) , , , _ 1( A), 20, 453-456, 1997-03-09( 18) , , ( , I), . E-1, I, , , , , 2009, 719-720, 2009-07-20 ( 19) , , , : ( ), (38),565-568,2000-02-19( 20) , , , _ ( , I), . E-1, I, , , , , 2004,1033-1034,2004-07-31( 21) , , , _ 1 ( ,I),. D-1, I, , ,, , , , , , 2005,677-678,2005-07-31( 22) , , (596),123-129,2005-10-30( 23) , , , 1 _ ( , I), . E-1, I, , , , , 2006,493-494,2006-07-31( 24) , , , 2 _ ( , I), . E-1, I, , , , , 2006, 491-492, 2006-07-31

  • 118

    ( 25) , , ( , I), . E-1, I, , , , , 2005, 431-432, 2005-07-31( 26) , : (, I),. E-1,I, , , , , 2006,1113-1114,2006-07-31( 27) , , , , ( ( ), ), . ICS,[ ] 2005(24),115-120,2005-03-14( 28) , , ( ), . (49),97-100,2009-05-22 ( 29) , , , ( ), II, (79),49-52,2009-03-28(30) , , , , , SimWalk( , I), . E-1, I, , , , , 2003,915-916,2003-07-30( 31) , , , , , _ SimWalk 2( , I), . E-1, I, , , , , 2004,847-848,2004-07-31( 32) , , , , Sim Tread ( , ), . A-2, , , 2010,311-314,2010-07-20( 33) , , , , , , : SimTread 5( , I),. E-1,I,,,,, 2008,597-598,2008-07-20( 34) , , , _ SimTread ( , I), . E-1, I, , , , , 2007,963-964,2007-07-31

  • 119

    ( 35) , , _ SimTread , 15(29), 227-232, 2009-02-20( 36) , , , , , , _ SimTread , 74(636), 371-377, 2009-02-28( 37) , , , , , Simwalk ( ), II, (75),45-48,2005-02-28( 38) , , ( ), II, (76), 81-84, 2006-02-28( 39) , (, I),. E-1, I, , , , , 2006, 1113-1114, 2006-07-31( 40) , . E-1,p.895,2011

  • 120

    J. (1974 ) , , , , , vol.1(2010/12/21) (2003 01 ) (2004 03 )

    artisoc ( ) (2007 01 30) ( 1) (2008 5 30 )artisoc (2010 4 26 )

    UML UML2.0 (2006 1 31 )UML (2005 6 20 )

    Java Eclipse3.7 Java Eclipse3.7Indigo (2011 8 29 )WINGS Java ( 2011 3 25 )

    ( )

  • 121

    MergeDoc ProjectPleiades - Eclipse http://mergedoc.sourceforge.jp/Web Cacoo( ) HPhttps://cacoo.com/

    HPhttp://www.31op.com/tama/index.html HPhttp://www.venusfort.co.jp/ HPhttp://toyosu.lalaport.jp/

    HPhttp://www.aquacity.jp/ HPhttp://yokohama.lalaport.jp/ HPhttp://www.31op.com/makuhari/ HPhttp://www.odaiba-decks.com/ HPhttp://www.31op.com/yokohama/index.html

    http://matome.naver.jp/odai/2131436357486610301 http://www.fashionsnap.com/news/2011-11-15/tokyu-plaza-omotesando-harajuku/( ) http://www.tokyu-land.co.jp/commercial-top/development/omotesando-pj/index.html VILLAGE by kurkku http://natalie.mu/music/news/55376 VILLAGE by kurkku HPhttp://www.yoyogi-village.jp/top/index.php

    HP( )

  • 122

    HPhttp://www.tokyo-solamachi.jp/LUMINE HPhttp://www.lumine.ne.jp/yurakucho/ HPhttp://www.hikarie.jp/ HPhttp://terracemall-shonan.com/http://mainichi.jp/life/kirei/graph/20091210/http://www.j-cast.com/2007/04/18006962.htmlCOREDO http://www.jri.co.jp/page.jsp?id=13913COREDO HPhttp://mi-mo.jp/pc/special/coredo/COREDO http://trendy.nikkeibp.co.jp/article/column/20101026/1033450/http://www.mitsuifudosan.co.jp/corporate/news/2011/0614/index.html SC http://www.tokyuland-scm.co.jp/business/opening/http://www.mori.co.jp/retail_facilities/ HPhttp://www.roppongihills.com/ HPhttp://www.omotesandohills.com/index.phphttp://www.qurune.jp/pdf_pre/release_091106.pdfhttp://utsukushigaoka5.seesaa.net/article/45735118.htmlhttp://www.premiumoutlets.co.jp/company/ PDFhttp://www.jcsc.or.jp/data/pdf/list_of_shopping_centers.pdf

  • 123

    http://www.jcsc.or.jp/data/report_selling/tables/sales201111.pdfSC http://www.jcsc.or.jp/data/report_selling/index.htmlhttp://www.meti.go.jp/report/downloadles/ji04_10_17.pdf

    http://www.busi-sp.jp/long_tail.htmlhttp://www.cri-inc.co.jp/modules/wordpress3/index.php?p=33 SNS http://www.dentsu.co.jp/sips/index.htmlhttp://ameblo.jp/consumer-psychology/entry-10021285036.htmlhttp://ameblo.jp/consumer-psychology/theme-10002355459.htmlhttp://ameblo.jp/consumer-psychology/entry-10021172177.htmlhttp://ameblo.jp/consumer-psychology/theme-10002453612.htmlhttp://ameblo.jp/consumer-psychology/theme-10002678736.htmlhttp://ameblo.jp/consumer-psychology/theme-10002432416.htmlhttp://ameblo.jp/consumer-psychology/theme-10002314305.htmlhttp://ameblo.jp/consumer-psychology/theme-10002690406.htmlhttp://www.teradata-j.com/library/ma/index.html

    IMES http://eetimes.jp/ee/articles/1106/13/news014.html IMES

  • 124

    http://itpro.nikkeibp.co.jp/article/COLUMN/20090202/323986/

    euclid http://jp.techcrunch.com/archives/20111103euclid-elements-emerges-from-stealth-debuts-google-analytics-for-the-real-world/?t=1320405417

    (DFD) DFD http://itpro.nikkeibp.co.jp/article/COLUMN/20080619/308620/http://www.dab.hi-ho.ne.jp/sasa/hyoryuki/dfd/DFD http://ameblo.jp/blueskyame/entry-10052156572.htmlDFD http://ameblo.jp/blueskyame/entry-10052261562.htmlDFD http://ameblo.jp/blueskyame/entry-10052462979.htmlDFD http://ameblo.jp/blueskyame/entry-10052856004.html

    (UML) Project AmaterasAmaterasUMLhttp://amateras.sourceforge.jp/cgi-bin/fswiki/wiki.cgi?page=AmaterasUML UML AmaterasUML(NTT NTT 2006/12/28)http://www.atmarkit.co.jp/fjava/rensai3/eclipseplgn14/eclipseplgn14_1.html (NTT 2005/10/4)http://www.atmarkit.co.jp/fjava/rensai3/eclipseplgn07/eclipseplgn07_1.html Subversive ( NTT 2007/3/2)http://www.atmarkit.co.jp/fjava/rensai3/eclipseplgn15/eclipseplgn15_1.html (Produced by Recruit)http://www.keyman.or.jp/at/dev/ide/30003924/UI Last update02/23/2003 12:34:45http://www002.upp.so-net.ne.jp/ys_oota/uml2/UIImplTest.htm

  • 125

    Java Java ( )http://www.tohoho-web.com/java/index.htmJava ( )http://www.javaroad.jp/Java http://www.javadb.jp/http://www.ccad.sist.chukyo-u.ac.jp/~mito/ss/progfun/math/rand/index.htmJava (ArraysCollections)http://nmy.at.webry.info/200710/article_1.html Java http://www.geocities.jp/m_hiroi/java/abcjava01.html

  • 126

    11-1. 1-2. 1-3. 1-4. 22-1.MT 2-2.VF 2-3.RT 2-4.

    3 VBA3-1. VBA3-2. VBA3-3. VBA3-4. ID VBA3-5. VBA3-6. VBA

  • 127

    1

    1-1. (1/5)

    5 1 Mail: [email protected] ( ) ( )

    1

  • 128

    1

    Q1 Q1-1 (10 20 304050 60 ) () (- ( )) Q1-2 () 12 12 12 1 12 Q1-3 () 1 ( ) Q1-4 ()() ( ) Q1-5 () Q1-6 () 1 ( ) 1

    (2/5)

  • 129

    1Q1-7

    (1 3 ) () ( ) ( ) ( ) ( ) ( ) ( ) ( ) Q1-8 30 3060 1 2 2 3 3 4 4 5 5 1 Q1-9 () ( ) Q2 Q2-1 (ex.) Q2-2

    (3/5)

  • 130

    1Q2-3

    () ( ) Q2-4 Q2-3 Q2-5 Q2-6 () Q2-7

    (4/5)

  • 131

    1

    Q2-8 Q2-7 () ( ) () () ( ) ( ) Q2-9 Q2-7 A 1 B 1 A 2 1 3 1 B ( ) ( ) 1 ( ) Q2-10 Q2-9 or or ( )

    (5/5)

  • 132

    1

    Q1-1 10 20 30 40 50 605 16 4 6 8 1

    17 23

    - 18 0 0 1 0 6 15

    Q1-2 - 12 12 12 112 1 14 13 9 3

    Q1-3 - 1 0 18 4 27 3 11

    Q1-5 -

    28 7 0 4 21 7 10

    Q1-6 -1()

    1

    34 4Q1-7 -

    1.87878788 1.75 1.93333333 1 1.045454545 1 1.8Q1-8 - 30 3060 12 23 34 45 5 1

    1 4 15 12 6 1 1

    Q1-9 -

    2 2

    8 13 11 1 3 1 3

    Q2-1 -

    5 20 12

    Q2-2 -

    8 23 9

    Q2-3 -

    ()

    23 17

    Q2-4 -

    1 20

    Q2-5 -

    2

    - 3 15 21 1Q2-6 -

    -

    ()- 12 0 1 16 0 0 1 1

    - 0 0 0 0 4

    Q2-7 -

    22 5 1 12

    Q2-8 -()

    ()

    (

    ()

    Q2-9 A 21 31 7 9 4 2 1

    B( )

    ( )

    1

    ( )

    18Q2-10 -

    1

    1-2. (1/1)

  • 133

    1

    1-3. (1/4)

  • 134

    1

    (2/4)

  • 135

    1

    (3/4)

  • 136

    1

    (4/4)

  • 137

    1

    2 6 10 18 11 8 5 24 4 3 2 9 17 17 17 51

    0 0 0 0 1 2 5 8 16 15 12 43 17 17 17 51

    2 2 8 12 7 10 4 21 7 4 4 15 16 16 16 48

    0 0 0 0 0 6 8 14 16 10 8 34 16 16 16 48

    4 8 18 30 18 18 9 45 11 7 6 24 33 33 33 99

    0 0 0 0 1 8 13 22 32 25 20 77 33 33 33 99

    16 10 6 0 0 0 29 15 14 17 4 13 11 6 5 0 0 0 1 1 0

    23 12 11 24 13 11 6 2 4 9 5 4 9 7 2 6 5 1 4 3 1

    0 0 0

    16 10 6 0 0 0 29 15 14 17 4 13 11 6 5 0 0 0 1 1 0

    23 12 11 24 13 11 6 2 4 9 5 4 9 7 2 6 5 1 4 3 1

    0 0 0

    1-4. (1/1)

  • 138

    2

    2-1.MT (1/2)

    2

  • 139

    2

    MT (2/2)

  • 140

    2

    2-2.VF (1/3)

  • 141

    2

    VF (2/3)

  • 142

    2

    VF (3/3)

  • 143

    2

    2-3.RT (1/3)

  • 144

    2

    RT (2/3)

  • 145

    2

    RT (3/3)

  • 146

    2

    2-4. (1/1)

    3960 56404320 88802700 43203360 78003060 92403240 94804500 82205040 55803120 45603780 81004620 57604320 93006060 43203600 45003240 7320

    3928 6868 864.4628 1917.357 5398 2091.094

    300 301.9355 212 280.5405 211.1538 299.3878 242.4161 293.245 276.4523 206.1739 372.2072 180.4882 364.9357 106.2228 440.3658 174.3238 393.2368 337.8736

    199.1489 147.9545 298.5 146.6038 200.4255 174.1935 229.2537 155.9582 179.2874 128.0929 99.47772 303.4267 122.2655 142.8875 302.6419 206.0091 195.9459 202.1088

    5398 2091.094 3928 864.4628 6868 1917.357 276.45 337.8736 242.42 174.3238 293.25 393.2368 179.29 202.1088 229.25 206.0091 155.96 195.9459 0.77 0.21 0.73 9.43 0.8 0.28 13.174 6.46497 10 3.330302 16.083 7.227936 8.1261 4.978953 5.3636 2.79684 10.658 5.190008 2.4348 2.299832 1.2727 0.445362 3.5 2.753785

    4 5 13 16 7.5 10 2 7

    11 16 7 10.25 1 47 11 1 9 2 110 9 1 6 1 2

    17 18 34 2 12 35 8 20.5 1 6

    6 12 3 11 1 14 2 19 8 1

    3 5 9 7 7 5 1 113 11 7.5 8 2 216 17 7 7 1 1

    18 4.75 424 18.4 10

    11 12 110 193 59 127.9 14 42 73.33333333 80 10 16.08333333 5.363636364 10.65833333 1.272727273 3.5 9.428090416 28.28427125 3.330301652 7.227935774 2.796840011 5.190007761 0.445361771 2.753785274 76.66666667 21.34374746 13.17391304 6.464970318 8.126086957 4.978952866 2.434782609 2.299831505

  • 147

    3VBA

    Sub VBA()' Dim a, b, c, d, e, f, g, h, i, j As IntegerDim (9), (9), (9) As Integer

    ' For a = 1 To 23 For b = 3 To 13 Sheets(" ").Cells(a, b) = 0 Next bNext a

    'Q1-1' For a = 0 To 9 (a) = 0 (a) = 0 (a) = 0Next a

    ' ( )For a = 3 To 42 If Sheets(" ").Cells(4, a) = "10 " Then (1) = (1) + 1 ElseIf Sheets(" ").Cells(4, a) = "20 " Then (2) = (2) + 1 ElseIf Sheets(" ").Cells(4, a) = "30 " Then (3) = (3) + 1 ElseIf Sheets(" ").Cells(4, a) = "40 " Then (4) = (4) + 1 ElseIf Sheets(" ").Cells(4, a) = "50 " Then (5) = (5) + 1 ElseIf Sheets(" ").Cells(4, a) = "60 " Then (6) = (6) + 1 ElseIf Sheets(" ").Cells(4, a) = "70 " Then (7) = (7) + 1 End If

    3-1. VBA(1/19)

    3 VBA

  • 148

    3VBA

    Next a

    For a = 1 To 7 Sheets(" ").Cells(1, a + 2) = (a)Next a

    ' For a = 3 To 42 If Sheets(" ").Cells(5, a) = " " Then (1) = (1) + 1 ElseIf Sheets(" ").Cells(5, a) = " " Then (2) = (2) + 1 End IfNext a

    For a = 1 To 7 Sheets(" ").Cells(2, a + 2) = (a)Next a

    ' For a = 3 To 42 If Sheets(" ").Cells(6, a) = " " Then (1) = (1) + 1 ElseIf Sheets(" ").Cells(6, a) = " - " Then (2) = (2) + 1 ElseIf Sheets(" ").Cells(6, a) = " " Then (3) = (3) + 1 ElseIf Sheets(" ").Cells(6, a) = " " Then (4) = (4) + 1 ElseIf Sheets(" ").Cells(6, a) = " " Then (5) = (5) + 1 ElseIf Sheets(" ").Cells(6, a) = " " Then (6) = (6) + 1 ElseIf Sheets(" ").Cells(6, a) = " " Then (7) = (7) + 1 ElseIf Sheets(" ").Cells(6, a) = "" Then (8) = (8) + 1

  • 149

    3VBA

    End IfNext a (7) = (1) + (2) - ( (1) + (2) + (3) + (4) + (5) + (6) + (8))

    For a = 1 To 8 Sheets(" ").Cells(3, a + 2) = (a)Next a

    '__________________________________________________'Q1-2' Dim (13) As IntegerDim (13) As IntegerDim (13) As String

    ' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next aFor a = 1 To 6 (a) = Sheets(" ").Cells(4, a + 2)Next a

    ' For a = 3 To 42 If Sheets(" ").Cells(7, a) = (1) Then (1) = (1) + 1 ElseIf Sheets(" ").Cells(7, a) = (2) Then (2) = (2) + 1 ElseIf Sheets(" ").Cells(7, a) = (3) Then (3) = (3) + 1 ElseIf Sheets(" ").Cells(7, a) = (4) Then

  • 150

    3VBA

    (4) = (4) + 1 ElseIf Sheets(" ").Cells(7, a) = (5) Then (5) = (5) + 1 ElseIf Sheets(" ").Cells(7, a) = (6) Then (6) = (6) + 1 End IfNext a

    ' For a = 1 To 6 Sheets(" ").Cells(4, a + 2) = (a)Next a

    '____________________________________________________________'Q1-3' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next aFor a = 1 To 7 (a) = Sheets(" ").Cells(5, a + 2)Next a

    ' bc ( 3 )For a = 3 To 42 For c = 0 To 2 For b = 1 To 7 If Sheets(" ").Cells(8 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

  • 151

    3VBA

    ' aFor a = 1 To 7 Sheets(" ").Cells(5, a + 2) = (a)Next a

    '____________________________________________________________'Q1-3' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next aFor a = 1 To 7 (a) = Sheets(" ").Cells(5, a + 2)Next a

    ' bc ( 3 )For a = 3 To 42 For c = 0 To 2 For b = 1 To 7 If Sheets(" ").Cells(8 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 7 Sheets(" ").Cells(5, a + 2) = (a)Next a

    '____________________________________________________________

  • 152

    3VBA

    'Q1-5Q1-4 ' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next aFor a = 1 To 7 (a) = Sheets(" ").Cells(7, a + 2)Next a

    ' bc ( 5 )For a = 3 To 42 For c = 0 To 4 For b = 1 To 7 If Sheets(" ").Cells(15 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 7 Sheets(" ").Cells(7, a + 2) = (a)Next a

    '____________________________________________________________'Q1-6' a = 0b = 0c = 0For a = 1 To 13 (a) = ""

  • 153

    3VBA

    (a) = 0Next aFor a = 1 To 3 (a) = Sheets(" ").Cells(8, a + 2)Next a

    ' bc ( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 3 If Sheets(" ").Cells(20 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 3 Sheets(" ").Cells(8, a + 2) = (a)Next a

    '____________________________________________________________'Q1-7 ( )' a = 0b = 0c = 0For a = 1 To 13 (a) = 0 (a) = 0Next a

    ' For a = 3 To 42 For b = 1 To 7 (b) = (b) + Sheets(" ").Cells(20 + b, a)

  • 154

    3VBA

    If Sheets(" ").Cells(20 + b, a) = 0 Then (b) = (b) + 1 End If Next bNext a

    ' aFor a = 1 To 7 Sheets(" ").Cells(9, a + 2) = (a) / (40 - (a))Next a

    '____________________________________________________________'Q1-8' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 8 (a) = Sheets(" ").Cells(10, a + 2)Next a

    ' bc ( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 8 If Sheets(" ").Cells(28 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

  • 155

    3VBA

    ' aFor a = 1 To 8 Sheets(" ").Cells(10, a + 2) = (a)Next a

    '____________________________________________________________'Q1-9' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 7 (a) = Sheets(" ").Cells(11, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 7 If Sheets(" ").Cells(29 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 7 Sheets(" ").Cells(11, a + 2) = (a)Next a

  • 156

    3VBA

    '____________________________________________________________'Q2-1' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 3 (a) = Sheets(" ").Cells(12, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 3 If Sheets(" ").Cells(30 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 3 Sheets(" ").Cells(12, a + 2) = (a)Next a

    '____________________________________________________________'Q2-2' a = 0

  • 157

    3VBA

    b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 3 (a) = Sheets(" ").Cells(13, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 3 If Sheets(" ").Cells(31 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 3 Sheets(" ").Cells(13, a + 2) = (a)Next a

    '____________________________________________________________'Q2-3' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0

  • 158

    3VBA

    Next a

    'a For a = 1 To 3 (a) = Sheets(" ").Cells(14, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 3 If Sheets(" ").Cells(32 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 3 Sheets(" ").Cells(14, a + 2) = (a)Next a

    '____________________________________________________________'Q2-4' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 4 (a) = Sheets(" ").Cells(15, a + 2)

  • 159

    3VBA

    Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 4 If Sheets(" ").Cells(33 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 4 Sheets(" ").Cells(15, a + 2) = (a)Next a

    '____________________________________________________________'Q2-5' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 4 (a) = Sheets(" ").Cells(16, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0

  • 160

    3VBA

    For b = 1 To 4 If Sheets(" ").Cells(34 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 4 Sheets(" ").Cells(16, a + 2) = (a)Next a

    '____________________________________________________________'Q2-6 ' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 8 (a) = Sheets(" ").Cells(17, a + 2)Next aFor a = 1 To 5 (a + 8) = Sheets(" ").Cells(18, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 4 For b = 1 To 13 If Sheets(" ").Cells(35 + c, a) = (b) Then

  • 161

    3VBA

    (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 8 Sheets(" ").Cells(17, a + 2) = (a)Next aFor a = 1 To 5 Sheets(" ").Cells(18, a + 2) = (a + 8)Next a

    '____________________________________________________________'Q2-7' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 4 (a) = Sheets(" ").Cells(19, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 4 If Sheets(" ").Cells(39 + c, a) = (b) Then (b) = (b) + 1 End If

  • 162

    3VBA

    Next b Next cNext a

    ' aFor a = 1 To 4 Sheets(" ").Cells(19, a + 2) = (a)Next a

    '____________________________________________________________'Q2-8 '____________________________________________________________'Q2-9A' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 5 (a) = Sheets(" ").Cells(21, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 5 If Sheets(" ").Cells(42 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

  • 163

    3VBA

    ' aFor a = 1 To 5 Sheets(" ").Cells(21, a + 2) = (a)Next a

    '____________________________________________________________'Q2-9B' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 4 (a) = Sheets(" ").Cells(22, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 4 If Sheets(" ").Cells(43 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 4 Sheets(" ").Cells(22, a + 2) = (a)Next a

  • 164

    3VBA

    '____________________________________________________________

    'Q2-10' a = 0b = 0c = 0For a = 1 To 13 (a) = "" (a) = 0Next a

    'a For a = 1 To 5 (a) = Sheets(" ").Cells(23, a + 2)Next a

    ' bc -1( 1 )For a = 3 To 42 For c = 0 To 0 For b = 1 To 5 If Sheets(" ").Cells(44 + c, a) = (b) Then (b) = (b) + 1 End If Next b Next cNext a

    ' aFor a = 1 To 5 Sheets(" ").Cells(23, a + 2) = (a)Next a

    '____________________________________________________________'

  • 165

    3VBA

    For a = 1 To 23 For b = 1 To 13 If Sheets(" ").Cells(a, b) = 0 Then Sheets(" ").Cells(a, b) = "" End If Next bNext aEnd Sub

  • 166

    3VBA

    Sub ()Dim a, b, c, d, e As IntegerFor a = 4 To 500 If Cells(a, 3) "" Then Cells(a, 4) = (Cells(a, 1) - Cells(4, 1)) * 60 + Cells(a, 3) - Cells(4, 3) End IfNext a

    End SubSub ()Dim a, b, c As IntegerDim hairetu(20, 20)For a = 1 To 7 hairetu(a, 1) = Sheets(" ").Cells(a, 10) hairetu(a, 2) = Sheets(" ").Cells(a, 10) hairetu(a, 3) = Sheets(" ").Cells(a, 10) hairetu(a, 4) = Sheets(" ").Cells(a, 10) hairetu(a, 5) = Sheets(" ").Cells(a, 10) hairetu(a, 6) = Sheets(" ").Cells(a, 10) hairetu(a, 7) = Sheets(" ").Cells(a, 10) hairetu(a, 8) = Sheets(" ").Cells(a, 10) hairetu(a, 9) = Sheets(" ").Cells(a, 10) hairetu(a, 10) = Sheets(" ").Cells(a, 10)Next aFor a = 1 To 10 For b = 1 To 10 Sheets(" ").Cells(a + 1, b + 1) = hairetu(b, a) Next bNext a

    Sheets(" ").Cells(2, 1) = " "Sheets(" ").Cells(3, 1) = " "Sheets(" ").Cells(4, 1) = " "Sheets(" ").Cells(5, 1) = " "Sheets(" ").Cells(6, 1) = " "Sheets(" ").Cells(7, 1) = " "Sheets(" ").Cells(8, 1) = " "

    VBA(1/8)

  • 167

    3VBA

    Sheets(" ").Cells(9, 1) = " "Sheets(" ").Cells(10, 1) = " "Sheets(" ").Cells(11, 1) = " "

    Sheets(" ").Cells(1, 1) = " "Sheets(" ").Cells(1, 2) = " "Sheets(" ").Cells(1, 3) = " "Sheets(" ").Cells(1, 4) = " "Sheets(" ").Cells(1, 5) = " "Sheets(" ").Cells(1, 6) = " "Sheets(" ").Cells(1, 7) = " "Sheets(" ").Cells(1, 8) = " "

    End Sub

    Sub 1()

    '__________________________________________________________________________' Dim a, b, , c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z As IntegerDim (13, 13), (100, 10), (100, 10), last As DoubleDim sheetnum As Integer

    '__________________________________________________________________________' a = b = c = d = e = 0f = g = h = i = j = 0k = l = m = n = o = 0p = q = r = s = t = 0u = v = w = x = y = 0z = last = = 0

    For a = 1 To 100 For = 1 To 10 (a, ) = "" (a, ) = "" Next

  • 168

    3VBA

    Next aFor a = 1 To 13 For = 1 To 13 (a, ) = "" Next Next a

    '__________________________________________________________________________' 'Dim sheet1 As Worksheet'Set sheet1 = Worksheets(sheetnum)'sheet1.Activate

    '__________________________________________________________________________' ( last )For a = 3 To 5000 If Cells(a, 6) "" Then If Cells(a + 1, 6) = "" Then last = a End If End IfNext a

    '__________________________________________________________________________' ( , , , , ) = 1c = 0e = 0For a = 1 To last If Cells(a, 7) = " " Then ( , 2) = Cells(a, 4) End If If Cells(a, 7) = " " Then

  • 169

    3VBA

    ( , 3) = Cells(a, 4) ( , 4) = Cells(a, 5) = + 1 End If If Cells(a, 7) = " " Then e = e + 1 End IfNext aFor a = 1 To If (a, 3) "" Then (a, 1) = (a, 3) - (a, 2) + 1 End IfNext a

    'c deFor a = 1 To If (a, 3) "" Then c = c + (a, 1) End IfNext a

    d = c / (1, 10) = Cells(last, 4) ' (2, 10) = d (3, 10) = - 1 (4, 10) = e

    '__________________________________________________________________________' ( )For a = 1 To For g = a + 1 To If (a, 4) = (g, 4) Then f = f + 1 (f, 5) = (g, 4) (f, 6) = (g, 2) - (a, 3) (f, 7) = g - a

  • 170

    3VBA

    End If Next gNext a

    For a = 1 To f h = h + (a, 6) i = i + (a, 7)Next a

    (5, 10) = fIf f 0 Then If f "" Then (6, 10) = h / f (7, 10) = i / f End IfEnd If

    '__________________________________________________________________________' (j= )j = 1For a = 3 To last If Cells(a, 7) = " " Then (j, 8) = Cells(a, 4) (j, 9) = Cells(a, 8) j = j + 1 End If If Cells(a, 7) = " " Then (j, 8) = Cells(a, 4) (j, 9) = Cells(a, 8) j = j + 1 End IfNext a

    '__________________________________________________________________________' For a = 1 To 100 For b = 1 To 10

  • 171

    3VBA

    Sheets("test").Cells(a, b) = (a, b) Next bNext a

    End Sub

    Sub shop_stayingTime()Dim a, b, c, d As IntegerDim shop_stayingTime(500, 3) As IntegerDim As String

    ' 1 2

    ' For a = 1 To 500 For b = 1 To 3 shop_stayingTime(a, b) = 0 Next bNext aa = b = c = d = 0For d = 1 To 5 If d = 1 Then = " " ElseIf d = 2 Then = " " ElseIf d = 3 Then = " " ElseIf d = 4 Then = " " ElseIf d = 5 Then = " " End If '

  • 172

    3VBA

    For a = 4 To 500 If Sheets( ).Cells(a, 7) = " " Then shop_stayingTime(c, 1) = Sheets( ).Cells(a, 4) End If If Sheets( ).Cells(a, 7) = " " Then shop_stayingTime(c, 2) = Sheets( ).Cells(a, 4) + 1 c = c + 1 End If Next a ' For a = 1 To 450 Sheets(" ").Cells(a, 2) = shop_stayingTime(a, 2) - shop_stayingTime(a, 1) Sheets(" ").Cells(a, 2) = shop_stayingTime(a + 1, 1) - shop_stayingTime(a, 2) + 2 Next aNext d

    ' For a = 1 To 500 For b = 1 To 3 shop_stayingTime(a, b) = 0 Next bNext aa = 0b = 0c = 0d = 0For d = 1 To 5 If d = 1 Then = " " ElseIf d = 2 Then = " " ElseIf d = 3 Then = " "

  • 173

    3VBA

    ElseIf d = 4 Then = " " ElseIf d = 5 Then = " " End If ' For a = 4 To 500 If Sheets( ).Cells(a, 7) = " " Then shop_stayingTime(c, 1) = Sheets( ).Cells(a, 4) End If If Sheets( ).Cells(a, 7) = " " Then shop_stayingTime(c, 2) = Sheets( ).Cells(a, 4) + 1 c = c + 1 End If Next a ' For a = 1 To 450 Sheets(" ").Cells(a, 1) = shop_stayingTime(a, 2) - shop_stayingTime(a, 1) Sheets(" ").Cells(a, 1) = shop_stayingTime(a + 1, 1) - shop_stayingTime(a, 2) + 2 Next aNext dEnd Sub

  • 174

    3VBA

    #-1

    Sub VBA()Dim a, b, c, d As IntegerDim data(100, 100), man(100, 100), woman(100, 100) As StringDim rest(5, 5), returnAction(5, 5) As Integer

    c = 0d = 0For a = 0 To 99 For b = 0 To 99 data(a, b) = 0 man(a, b) = 0 woman(a, b) = 0 Next bNext aFor a =