C++ Neural Networks and Fuzzy Logic: Preface


Output for a Four−City Problem



Download 1,14 Mb.
Pdf ko'rish
bet354/443
Sana29.12.2021
Hajmi1,14 Mb.
#77367
1   ...   350   351   352   353   354   355   356   357   ...   443
Bog'liq
C neural networks and fuzzy logic

Output for a Four−City Problem

Please type number of cities, number of iterations



4 30

0.097 0.0585 0.053 0.078                //input vector—there

are 16 neurons in the network

0.0725 0.0535 0.0585 0.0985

0.0505 0.061 0.0735 0.057

0.0555 0.075 0.0885 0.0925

type distance (integer) from city 0 to city 1

C++ Neural Networks and Fuzzy Logic:Preface

Output from Your C++ Program for the Traveling Salesperson Problem

355



10

type distance (integer) from city 0 to city 2



14

type distance (integer) from city 0 to city 3



7

type distance (integer) from city 1 to city 2



6

type distance (integer) from city 1 to city 3



12

type distance (integer) from city 2 to city 3



9

 Distance Matrix

0  10  14  7

10  0  6  12

14  6  0  9

7  12  9  0

 Weight Matrix              //16x16 matrix of weights. There are

16 neurons in the network.

−30  −70   −70  −70

−70  −630  −30  −630

−70  −870  −30  −70

−30  −70   −70  −630

−70   −30  −70  −70

−630  −70  −630 −30

−870  −70  −870 −70

−70   −30  −70  −30

−70  −70   −30  −70

−30  −630  −70  −630

−30  −870  −70  −70

−70  −70   −30  −630

−70   −70  −70   −30

−630  −30  −630  −70

−870  −30  −870  −70

−630  −30  −630  −30

−70  −630  −30  −630

−30  −70   −70  −70

−70  −390  −30  −630

−70  −630  −30  −70

−630  −70  −630  −30

−70   −30  −70   −70

−390  −70  −390  −30

−630  −70  −630  −70

−30  −630  −70  −630

−70  −70   −30  −70

−30  −390  −70  −630

−30  −630  −70  −70

−630  −30  −630  −70

−70   −70  −70   −30

−390  −30  −390  −70

−870  −30  −870  −70

C++ Neural Networks and Fuzzy Logic:Preface

Output from Your C++ Program for the Traveling Salesperson Problem

356



−70  −870  −30  −870

−70  −390  −30  −390

−30  −70   −70  −870

−70  −870  −30  −390

−870  −70  −870  −30

−390  −70  −390  −30

−70   −30  −70   −30

−870  −70  −870  −30

−30  −870  −70  −870

−30  −390  −70  −390

−70  −70   −30  −870

−30  −870  −70  −390

−870  −30  −870  −70

−390  −30  −390  −70

−70   −70  −70   −70

−450  −30  −450  −70

−70  −450  −30  −450

−70  −750  −30  −750

−70  −570  −30  −450

−70  −450  −30  −750

−450  −70  −450  −30

−750  −70  −750  −30

−570  −70  −570  −30

−450  −70  −450  −30

−30  −450  −70  −450

−30  −750  −70  −750

−30  −570  −70  −450

−30  −450  −70  −750

−450  −30  −450  −70

−750  −30  −750  −70

−570  −30  −570  −70

−70   −70  −70   −30

initial activations

 the activations:

−333.680054  −215.280014  −182.320023  −371.280029

−255.199997  −207.580002  −205.920013  −425.519989

−258.560028  −290.360016  −376.320007  −228.000031

−278.609985  −363  −444.27005  −377.400024

the outputs

0.017913  0.070217  0.100848  0.011483

0.044685  0.076494  0.077913  0.006022

0.042995  0.029762  0.010816  0.060882

0.034115  0.012667  0.004815  0.010678

 30 iterations completed

 the activations:

−222.586884  −176.979172  −195.530823  −380.166107

−164.0271    −171.654053  −214.053177  −421.249023

−158.297867  −218.833755  −319.384827  −245.097473

−194.550751  −317.505554  −437.527283  −447.651581

C++ Neural Networks and Fuzzy Logic:Preface

Output from Your C++ Program for the Traveling Salesperson Problem

357



the outputs

0.064704  0.10681  0.087355  0.010333

0.122569  0.113061  0.071184  0.006337

0.130157  0.067483  0.021194  0.050156

0.088297  0.021667  0.005218  0.004624

tourcity 0 tour order 1

tourcity 1 tour order 0

tourcity 2 tour order 3

tourcity 3 tour order 2

 the tour :

1

0

3



2

 distance of tour is : 32

Previous Table of Contents Next

Copyright ©

 IDG Books Worldwide, Inc.

C++ Neural Networks and Fuzzy Logic:Preface

Output from Your C++ Program for the Traveling Salesperson Problem

358




Download 1,14 Mb.

Do'stlaringiz bilan baham:
1   ...   350   351   352   353   354   355   356   357   ...   443




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish