414w11w12w1Rw21w22w2RwS1wS2wSR=RSRSwS1wS2wSRT1SSRSiwi1wi2=T1T2=RS=(+)wiRTSaihardlimnihardlimTibi+==24p1anw1,1bp2w1,211a=hardlim(+b)ahardlimT1b+hardlimw11p1w12p2b++==3n=w1,1p1+w1,2p2+b=04w111=w121=b1–=p1+p2–1=0p211T+b=0a=1111b01p1a=0144T1b+0=T1b–=11b••1T+b=011154–“(OR)100=t10=201=t21=310=t31=411=t41=641••10.50.5=•(0,0.5)7T1b+0.50.500.5b+0.25b+0===b0.25–=41••(x1,y1)(x2,y2)211211xxxxyyyy025.05.05.021pp•(0.5,0)(0,0.5)10.50.5=•()8•25.0b4•Tib+0=ibi+0•••S•S2S94•11{,}22{,}QQ{,}11{,}22{,}QQ{,}••104112=t11=21–2=t20=301–=t30=p1w1,1anp2w1,21,1a=hardlim()114121011.00.8–=131ahardlimT11hardlim1008–1==ahadlim11hadlim1.00.82ahardlim0.6–0==124•1111–•11–ld12Ift1anda0,then1new1old+===11new1old1+1.00.8–12+2.01.2===1334ahardlimT12hardlim2.01.21–2==2ahardlim0.41==()Ift0anda1,then1new1old–===12,11newold201–301new1old2–2.01.212–3.00.8–===14134ahardlimT13hardlim3.00.8–01–==1–ahardlim0.81==()1211new1old3–3.00.8–01––3.00.2===315Ifta,then1new1old.==4Ift1anda0,then1new1old+===Ift0anda1,then1new1old–===Ifta,then1new1old==11eta–=Ife1,then1new1old+==Ife1–then1new1old–==Ife1,then11Ife0,then1new1old==1new1olde+1oldta–+==116bnewbolde+=14iinewioldei+=binewbioldei+=newoldT+=newold+=174/1111–11–t11==2111–t20==0.51–0.5–=b0.5=0.510.51ahardlim1b+hardlim0.51–0.5–1–11–0.5+==ahardlim0.5–0==newoldeT+051–05–11–11–+05–015–===et1a–10–1===180.510.51110.501.5bnewbolde+0.51+1.5===41ahardlim2b+()hardlim0.5–01.5–11–1.5+()==ahardlim2.5()1==et2a–01–1–===newoldeT+0.5–01.5–1–111–+1.5–1–0.5–===bnewbolde+1.51–+0.5===1941–ahardlim1b+()hardlim1.5–1–0.5–111–0.5+()==ahardlim1.5()1t1===ahardlimb+()hardlim151051105+()==ahardlim2b+()hardlim1.5–1–0.5–11–0.5+()==ahardlim1.5–()0t2===204•214•••224•(4.66)(4.72)(4.66)(4.72))(izxT)(mmzatiz)()(Qm10atm1mtmmmzzatiz)()(mTTzxizx)(TT0mtmmmzzatiz)()(mTTzxizx)(0)1()1(kzkxTtk)()1(Q10atmmzatkz)()1(Qm10atm0t1mt0)1()1()1(mTTzkxkzkx0)1()1()1(TTzkxkzkx230mt0)1()1()1(mzkxkzkx4T1b+0=244}1,{1111tp}1,{2112tp}0,{3003tp}0,{4104tp(1)(1)(2)],00[)0(W0)0(b254C:,C:voidlearning(n,i,f,{p,t},W,b){{n:;ii:;f:;{}{p,t}:;W:;bb:;}26}4(XOR)0111{,1}pt1212{,0}pt010303{,0}pt1404{,1}pt27