You are on page 1of 18

C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo...

Página 1 de 18

! "# " "$ # % $ $ &'(


& ) &&% * +! , ", +

!"
#$%&

'(

!"
#$%&

% # &- -

+
+)
, (
0 . 1
- 2 13
% ,./ 0 12 3 4 '5 $
4 ( ,+ 5( (673
. ( ,+ /889: /88;* ( ,+4 3
&% /88 ( ,+/8 ( ,+--
5( (67/889< /888 !" 2&,, ( ,+/8!
,= . ( ,+
( ,+ ( ,+ >75 +,.
+ 5,%22,&>?5 2&,,@ 2&,,( A

. -

, /

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 2 de 18

. /

4 ) B B

. ?

,
B B =

. C

)
B B 2

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 3 de 18

. 9

+
B B B B +

. ;

+ =
) )
)

. D

7
= +
B B

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 4 de 18

. E

% 2 $ $ ' + $

( >

=
+ *
+
=

7 )

. F

, G

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 5 de 18

. -8

= G B
B =

. --

! %

= ) !"

% ### / # !

2
G
G

(
H
% H I IJ
J

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 6 de 18

. -/

2 )
B B

&
H
. K ( 2 L H IJ
J

. -?

4 (
& M

G )

% 2 ) ,
)

2
H
" !

2
H
N O I
N O 8I
J

"

" 5 P

N I
N I

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 7 de 18

"

"

4
H
H N IJ
H N O IJ
J

.
H
H N IJ
H N O IJ
J

"

" 5

.
H
N @O N I
N O 8I
J

"
J

. -C

= ) ,
G
( &
$ +
G 4 )

> ( &
H
7 I

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 8 de 18

7 7 I

2 * H I IJ
* 4 H I IJ
, H I IJ
J

. -9

= ) *

7 >7 K L
H
I
7 I
J

. -;

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Framewo... Página 9 de 18

. -D

% #6 # " "

( 1 >

. -E

+ +
(

+ ( ( M
8 -

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 10 de 18

(
H
-< -@ 5 ,= $ I
J

+ + BM B
N

>+ = 8K =K - =>
8- = 8 -

7
H

H
N O 8I

Q P K ( 2 L N
N @O Q % R P 4 I

N @O N 4 R* 4 I

N O( N I
J
J

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 11 de 18

. -F

+ 7
7 ) +
7 K L 7 K L +
>

H
N
I
J

7
H
N
7 I
J

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 12 de 18

. /8

+ N &
+ * S

+ ) S 4
) 2 4
S

S (
! ! !
H
G ! I
& I
7 I

<
< S
O & ( I
N 7 O 7 I
N 7 O 7 I
N 7 O 7 I

O 8I K ! I @@
N 7 I

O 8I K ! I @@
N 7 I

O 8I K ! I @@
N 7 I

<
< $

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 13 de 18

O 8I K N 7 ! I @@
GO 8I GK N 7 ! IG@@
N 7 TU N 7 T G
U
2 =. I

<
< $
O 8I K N 7 ! I @@
GO 8I GK N 7 ! IG
@@
N 7 TU 3 7 T
GU
2 =. I

= ) 7 G

H
N 7 I
N 7 I
J
J

7
H

H
N 7 7 I
N 7 7 I
J
J

% * +
2
=

2 G
) N &

* T
U &
H
G
I
I

/I

<
<!
O 8I K N 7 ! I @@
H
O N 7 TU% I
N 7 TU, O & TU$ R R -82$ I
J

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 14 de 18

<
<
O 8I K N 7 ! I @@
H
O N 7 TU
I

O 8I

GO 8I GK N 7 ! IG
@@
H
O N 7 T
GUI
@O , R T U4 R % R -8$
% I
J

, O I
J

<
< G
O 8I K N 7 ! I @@
H
O N 7 TU
I

GO 8I GK N 7 ! IG
@@
H
O N 7 T
GUI
T U4 @O N & R N 7 T
GU, R
% I
* . @O N & R N 7 T
GU, R
* 4 I
J
J

<
< G
O 8I K N 7 ! I @@
H
O N 7 TU
I

GO 8I GK N 7 ! IG
@@
H
O N 7 T
GUI
T U4 @O N & R , R
% I
* . @O N & R , R
* 4 I
J
J
J

*
= .
$ 4 G
7

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 15 de 18

+ + G

+ T
U T
U &
H
I

7 A
O N 7 !
,= 2 B
,= H8J B
N 7 ! I

<
< S
O 8I K N 7 ! I @@
H
O N 7 TU I

A
O << I I
% O TU
I
J

I
* & I
J

+ T
UTU T
UTU =
H
O 8I K 7 I @@
+ TU = TUI

( >

( ->(
( />
( ?>*
( C> 7

% 6 "
"7 $ $ 8&9

4 #%& 4 )
4

# # 8&9
&
8 8 8
8 - -
- 8 -
- - 8

+ SS * %

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 16 de 18

8 -

G SS SS 2
- ) B B 8F 8 )
B B 8- 4 ) =
) 89 - 89
8

4 ) S -88

M )
M

-N! G ,
H
O I
I

O FI
O -I
O 9I

<
< S
<
< /
<
< /
<
< -
S - / / -I

TU
TU O T
CUT
UI
T
8UO T
UH JI
T
-UO T
UH JI
T
/UO T
UH JI
T
?UO T
UH JI

TU
TU O T
CU TU
I
T
8UO T
UH JI
T
-UO T
UH JI
T
/UO T
UH JI
T
?UO T
UH JI

I
I

O 8I

H
@@I

O 8I K -88I @@
+ I

7 I

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 17 de 18

7 T
8U% O I
7 T
-U% O I

O % 7 T
8U% I

7 T
8U% O I
7 T
-U% O I

O % 7 T
8U% I

7 T
8U% O I
7 T
-U% O I

O % 7 T
8U% I

7 T
8U% O I
7 T
-U% O I

O % 7 T
8U% I
J
L V
V K V
V K V
V L I

5 * =( R-88 + ( @B M BI

% 6 "

B B
+ B B

G
,
G *

' = $$
/ + ! $ ) + , +

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006
C# Artificial Intelligence (AI) Programming: A Basic Object Oriented (OOP) Frame... Página 18 de 18

http://www.c-sharpcorner.com/UploadFile/rmcochran/AI_OOP_NeuralNet0619200609011... 6/7/2006