C++ Neural Networks and Fuzzy Logic: Preface


C++ Neural Networks and Fuzzy Logic



Download 1,14 Mb.
Pdf ko'rish
bet213/443
Sana29.12.2021
Hajmi1,14 Mb.
#77367
1   ...   209   210   211   212   213   214   215   216   ...   443
Bog'liq
C neural networks and fuzzy logic

C++ Neural Networks and Fuzzy Logic

by Valluru B. Rao

MTBooks, IDG Books Worldwide, Inc.



ISBN: 1558515526   Pub Date: 06/01/95

Previous Table of Contents Next



Header File

Listing 9.1 fuzzyam.h

//fuzzyam.h   V. Rao, H. Rao

#include

#define MXSIZ 10

class fzneuron

{

protected:



       int nnbr;

       int inn,outn;

       float output;

       float activation;

       float outwt[MXSIZ];

       char *name;

       friend class network;

public:


       fzneuron() { };

       void getnrn(int,int,int,char *);

};

class exemplar



{

protected:

       int xdim,ydim;

       float v1[MXSIZ],v2[MXSIZ];   // this is different from BAM

       friend class network;

public:


       exemplar() { };

       void getexmplr(int,int,float *,float *);

       void prexmplr();

};

class asscpair



{

protected:

       int xdim,ydim,idn;

       float v1[MXSIZ],v2[MXSIZ];

       friend class network;

public:


       asscpair() { };

       void getasscpair(int,int,int);

       void prasscpair();

};

C++ Neural Networks and Fuzzy Logic:Preface



Header File

186



class potlpair

{

protected:



       int xdim,ydim;

       float v1[MXSIZ],v2[MXSIZ];

       friend class network;

public:


       potlpair() { };

       void getpotlpair(int,int);

       void prpotlpair();

};

class network



{

public:


       int  anmbr,bnmbr,flag,nexmplr,nasspr,ninpt;

       fzneuron (anrn)[MXSIZ],(bnrn)[MXSIZ];

       exemplar (e)[MXSIZ];

       asscpair (as)[MXSIZ];

       potlpair (pp)[MXSIZ];

       float outs1[MXSIZ],outs2[MXSIZ];   // change from BAM to floats

       double mtrx1[MXSIZ][MXSIZ],mtrx2[MXSIZ][MXSIZ]; // change from

BAM to doubles

       network() { };

       void getnwk(int,int,int,float [][6],float [][4]);

       void compr1(int,int);

       void compr2(int,int);

       void prwts();

       void iterate();

       void findassc(float *);

       void asgninpt(float *);

       void asgnvect(int,float *,float *);

       void comput1();

       void comput2();

       void prstatus();

};


Download 1,14 Mb.

Do'stlaringiz bilan baham:
1   ...   209   210   211   212   213   214   215   216   ...   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