亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? alife.ctl

?? MATLAB,VB做成的神經網絡計算程序
?? CTL
?? 第 1 頁 / 共 4 頁
字號:
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.UserControl ALife 
   BackStyle       =   0  'Transparent
   ClientHeight    =   4500
   ClientLeft      =   0
   ClientTop       =   0
   ClientWidth     =   7500
   ScaleHeight     =   300
   ScaleMode       =   3  'Pixel
   ScaleWidth      =   500
   Begin VB.TextBox txtInput 
      BackColor       =   &H00FFFFFF&
      Height          =   285
      Left            =   120
      TabIndex        =   0
      Top             =   4080
      Width           =   7215
   End
   Begin RichTextLib.RichTextBox dspHCI 
      Height          =   3855
      Left            =   120
      TabIndex        =   1
      Top             =   120
      Width           =   7215
      _ExtentX        =   12726
      _ExtentY        =   6800
      _Version        =   393217
      BackColor       =   14737632
      ReadOnly        =   -1  'True
      ScrollBars      =   3
      RightMargin     =   12000
      TextRTF         =   $"ALife.ctx":0000
   End
End
Attribute VB_Name = "ALife"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
'Mind.VB
'
'Translated by:
'   Rick Boardman
'   http://www.NetBotics.com
'   contact@netbotics.com
'
'About the translation:
'   This program is a translation from Mind.Forth
'   I have tried to keep the translation as pure
'   as possible for the initial release of Mind.VB
'
'Translated version:
'   Translation from Forth code release 1feb2Ka.f
'   http://www.geocities.com/Athens/Agora/7256/mind4th.html
'
'Credits:
'   Original concepts and Forth code are credited to
'   Arthur T Murray with contributions from
'   Jeff Fox
'
'   Special thanks goes out to all those who helped
'   a Forth newbie at comp.lang.forth
'

'Declare public variables
Dim lclActivation As Integer
Dim lclAttention As Integer
Dim lclBeginning As Integer
Dim lclBig As Integer
Dim lclBlankTime As Integer
Dim lclContinuation As Integer
Dim lclEnglishLexicon As Integer
Dim lclEndOfText As Integer
Dim lclFiber As Integer
Dim lclFiberOut As Integer
Dim lclFiberIn As Integer
Dim lclGrammarCategory As Integer
Dim lclHits As Integer
Dim lclIndex As Integer
Dim lclLength As Integer
Dim lclConcept As Integer
Dim lclMidway As Integer
Dim lclBestWord As Integer
Dim lclMoveTag As Integer
Dim lclEnglishLexiconConceptNumber As Integer
Dim lclNaturalLanguageProcessing As Integer
Dim lclNotLaterThan As Integer
Dim lclOnset As Integer
Dim lclOption As Integer
Dim lclParse As Integer
Dim lclPhoneme As Integer
Dim lclPartOfSpeech As Integer
Dim lclPrevious As Integer
Dim lclPreviousGrammarCategory As Integer
Dim lclQuota As Integer
Dim lclRecallVector As Integer
Dim lclSource As Integer
Dim lclSubsequent As Integer
Dim lclSpy As Integer
Dim lclTime As Integer
Dim lclTimeDecrement As Integer
Dim lclTimeStringEffect As Integer
Dim lclTimeUltimate As Integer
Dim lclTimveOfVoice As Integer
Dim lclUnknown As Integer
Dim lclUltimateTag As Integer
Dim lclRunning As Boolean   'flag to show if AI is running or not.

Type tEar   'Auditory memory channel array
    Unknown As Integer
    Activation As Integer
    Beginning As Integer
    Continuation As Integer
    UltimateTag As Integer
    Source As Integer
End Type

Type tPSI   'Primitive concept array
    Fiber As Integer
    Activation As Integer
    Previous As Integer
    EnglishLexicon As Integer
    Subsequent As Integer
    NaturalLanguageProcessing As Integer
End Type

Type tEN    'English lexicon
    MoveTag As Integer
    Activation As Integer
    GrammarCategory As Integer
    FiberIn As Integer
    FiberOut As Integer
    RecallVector As Integer
End Type

Dim lclEar() As tEar
Dim lclPSI() As tPSI
Dim lclEN() As tEN

Private Sub UserControl_Initialize()
    lclRunning = False
    
    Display_Message "Welcome to Mind.VB!" & vbCrLf
    Display_Message vbCrLf & "There is no warranty for what this software does."
    Display_Message vbCrLf & vbCrLf & "If this is your first time, enter .help"
End Sub

'ALife is the main program loop of Mind.VB AI.
Public Sub ALife()
    lclRunning = True
    
    Set_Defaults    'sets initial defaults that Mind.Forth did in declaration
    
    lclBlankTime = lclTime
    lclSpy = 49
    
    Display_Message vbCrLf & "(Clearing Memory...)"
        
    Tabularasa  'to erase all memory arrays
    Bootstrap   'to load some initial concepts
    
    Do
        DoEvents
        
        If lclTime > 200 Then
            lclMidway = lclTime - 200   'for a range limit on searches
        Else
            lclMidway = 0
        End If
        
        Decay
        Transformation  'to choose a Chomskyan syntactic structure
        Decay
        Autonomy    'for independent operation, if no input
        
        If lclAttention = -1 Then   'while in attention mode, do the following
            lclBlankTime = lclTime  'keep track of moment before input
            
            Display_Message vbCrLf
            
            lclSource = 43  'ascii 43 = "+" to designate "source" as external.
            
            Display_Message vbCrLf & "User:" & Chr(9)   'a prompt for the user to type in a sentence
                        
            lclParse = 1    'expect a noun or pronoun
            
            Sensorium   'for sensory input from the environment
            
        End If
        
        If lclRunning = False Then
            Display_Message vbCrLf & "Killed on command "
            
            Exit Do
        End If
        
        If lclTime > 999 Then
            Display_Message vbCrLf & "Program timed out at 999 "
                        
            Exit Do
        End If
    Loop
End Sub

'Autonomy is the auto-pilot mode of stand-alone AI.
Sub Autonomy()
    'Display_Message vbCrLf & vbCrLf & " Press TAB for user input, or ESC to quit:"
    
    For lclI = 1 To 75
        DoEvents
        
        'Display_Message "." 'display a series of dots....
        
        'lclUnknown = Get_Key
        
        'lclAttention = -1
        
        'If lclUnknown = 27 Then
        '    Display_Message vbCrLf & " Halt. "
        '
        '    End
        'End If
        
        'If lclUnknown = 9 Then
            'Display_Message vbCrLf & vbCrLf & " Autonomy: Interruption by user."
        If txtInput.Text <> "" Or txtInput.Tag <> "" Then
            HCI
            
            Exit For
        End If
    Next
    
    'Display_Message vbCrLf
    
    lclUnknown = 0
    
    'return to the main program loop ALife
End Sub

'HCI is the human-computer interface of VB.Forth AI.
Sub HCI()
    'lclUnknown = 0  'remove whatever value rode in here
    
    'If lclSpy > 49 Then
    '    Display_Echo    'after diagnostic blur, show I/O
    'End If
    
    'Display_Message vbCrLf & vbCrLf & " HCI: Please enter a diagnostic level from 1 to 9."
    'Display_Message vbCrLf & "  For instance, 1 (no diagnostics) or 2 (troubleshooting)."
    'Display_Message vbCrLf & "  Enter subject + transitive verb + object (no punctuation)."

    'lclUnknown = Get_Key
    
    'If lclUnknown = 27 Then
    '    Display_Message vbCrLf & " Halt."
    '
    '    End
    'End If
    
    While txtInput.Text <> ""
        DoEvents
    Wend
    
    If Mid(txtInput.Tag, 1, 1) = "." Then
        Select Case UCase(Mid(txtInput.Tag, 2, 2))
            Case "AB"
                Display_About
            Case "HE"
                Display_Help
            Case "LI"
                txtInput.Tag = ""
                
                ALife
            Case "SP"
                txtInput.Tag = Replace(UCase(txtInput.Tag), "SPY", "")
                
                lclSpy = Asc(Trim(txtInput.Tag))
            Case "EC"
                Display_Echo
            Case "EA"
                Display_Ear
            Case "EN"
                Display_EN
            Case "PS"
                Display_PSI
            Case "KI"
                lclAttention = 0
                lclRunning = False
        End Select
        
        txtInput.Tag = ""
    Else
        lclAttention = -1
    End If
    
    'lclSpy = lclUnknown

    'return to the Autonomy subroutine
End Sub

'Transformation calls a Chomskyan syntax structure.
Sub Transformation()
    Discriminate    'to pick and choose among active concepts
    
    'if no verb, push into Activate + SpreadAct to force a verb:
    
    lclMoveTag = lclConcept
    
    If lclNaturalLanguageProcessing <> 8 Then
        If lclSpy = 50 Then
            Display_Message "Xf. 1st call to Activate "
        End If
        
        lclAttention = -1
        
        SpreadAct
            
        lclMoveTag = 0
        lclAttention = 0
            
        Discriminate    'to search again
    End If
        
    lclMoveTag = lclConcept
    
    If lclNaturalLanguageProcessing <> 8 Then
        If lclSpy = 50 Then
            Display_Message "Xf. 2nd call to Activate "
        End If
        
        lclAttention = -1
        
        SpreadAct
        
        lclMoveTag = 0
        lclAttention = 0
        
        Discriminate    'to search again
    End If
    
    lclMoveTag = lclConcept
    
    'if the meme (concept) is an 8 (verb), run it through Activate + SpreadAct
    'in order to accentuate the activation of the subject:
    
    If lclNaturalLanguageProcessing = 8 Then    'if no verb on the 3rd try, never mind
        If lclSpy = 50 Then
            Display_Message "Xf. verb ! Call Activate "
        End If
        
        lclAttention = -1
        
        SpreadAct
        
        lclMoveTag = 0
        lclAttention = 0
    End If
    
    lclActivation = 0
    
    English 'that is, the syntactic structure of English
    
    'return to the main ALife loop
End Sub

'Discriminate "squeezes out" subjects, verbs, etc.
Sub Discriminate()
    If lclSpy = 50 Then
        Display_Message vbCrLf & "Discriminate: Active concept = "
    End If
    
    lclActivation = 0
    lclUnknown = 1
    
    For lclI = lclTime + 1 To lclMidway Step -1
        DoEvents
        
        If lclPSI(lclI).Activation > lclUnknown Then    'if psi Activation is larger...
            lclActivation = lclPSI(lclI).Activation '...hold the Activation level
            lclConcept = lclPSI(lclI).Fiber '...hold the meme (Concept)
            lclPrevious = lclPSI(lclI).Previous '...hold its Previous?
            lclSubsequent = lclPSI(lclI).Subsequent '...hold its Subsequent"
            lclNaturalLanguageProcessing = lclPSI(lclI).NaturalLanguageProcessing   '...hold its part-of-speech
        End If
        
        lclUnknown = lclActivation  'next use Activation as the higher standard
    Next    'with each loop, possibly find a higher Activation
    
    If lclSpy = 50 Then
        Display_Message lclConcept
    End If
    
    'return to Transformation
End Sub

'English is the syntax of an English sentence.
Sub English()
    If lclSpy = 50 Then
        Display_PSI
        
        'Display_Message " Press RETURN "
        '
        'Key
    End If
    
    lclAttention = 0    'turns off "attention" during reentry mode
    lclTimeOfVoice = lclTime    'store current "time" as time-of-voice for Display_Echo
    
    'the AI fills in the next line by generating a thought:
    Display_Message vbCrLf & "Robot:" & Chr(9)
    
    Subject 'finds "le mot jeste" (BestWord) to be the subject
    
    Predicate   'finds "le mot jeste" for verb and for object
    
    lclMoveTag = lclBestWord    'so that Retro will invoke OldConcept
    lclUnknown = 13 'ASCII 13 (CR) to trip a call of Retro
    
    Sensorium
    
    'return to the Transformation module.
End Sub

'Predicate assembles a phrase of verb plus object.
Sub Predicate()
    lclOptions = 8
    lclUnknown = 0
    lclMoveTag = 0
    lclBestWord = 0
    lclParse = 2
    
    FlushVector 'to move deep concepts up to English "EN()"
    
    If lclSpy > 50 Then
        Display_Message vbCrLf & Chr(9) & "Predicate: "
    End If
    
    For lclI = lclTime To lclMidway Step -1
        DoEvents
        
        If lclEN(lclI).Activation > 0 Then  'if EN Activation is positive
            lclActivation = lclEN(lclI).Activation  'then store the Activation level
            
            If lclEN(lclI).GrammarCategory = 8 Then 'a verb?
                If lclActivation > lclUnknown Then
                    lclMoveTag = lclEN(lclI).MoveTag    'move-tag of item
                    lclRecallVector = lclEN(lclI).RecallVector  'auditory recall-vector
                    lclUnknown = lclActivation  'to test for an even higher Activation
                    lclBestWord = lclMoveTag
                    
                    If lclSpy > 50 Then
                        Display_Message vbCrLf & Chr(9) & "Predicate: most active a " & lclActivation & " is for mt " & lclMoveTag & " with rv " & lclRecallVector
                    End If
                End If
            End If
        End If
    Next

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲女同ⅹxx女同tv| 在线观看国产日韩| 图片区小说区国产精品视频| 国产精品传媒入口麻豆| 国产日产欧美一区| 久久久九九九九| 国产视频不卡一区| 国产精品色哟哟网站| 国产欧美日本一区视频| 国产精品网站在线| 中文字幕av一区二区三区免费看 | 99久久久无码国产精品| 色先锋资源久久综合| a级精品国产片在线观看| 不卡免费追剧大全电视剧网站| 成人午夜精品一区二区三区| 国产精品一卡二卡在线观看| 丁香天五香天堂综合| 波多野洁衣一区| 91成人在线精品| 91精品欧美综合在线观看最新| 欧美一区二区美女| 久久在线观看免费| 国产片一区二区三区| 国产精品视频免费| 亚洲综合偷拍欧美一区色| 亚洲国产欧美在线| 精久久久久久久久久久| 国产91精品久久久久久久网曝门| thepron国产精品| 欧日韩精品视频| 日韩欧美一区二区在线视频| 久久久久国产成人精品亚洲午夜| 亚洲欧洲www| 婷婷久久综合九色国产成人| 国产在线精品国自产拍免费| 97久久精品人人爽人人爽蜜臀| 欧美视频一区在线观看| 日韩一级高清毛片| 综合欧美亚洲日本| 毛片一区二区三区| 欧美va亚洲va在线观看蝴蝶网| 日本一区二区不卡视频| 图片区小说区区亚洲影院| 国产精品系列在线观看| 欧美日韩免费不卡视频一区二区三区| 欧美mv和日韩mv的网站| 一区二区三区在线免费| 精品一区二区三区影院在线午夜| 91一区一区三区| 精品福利二区三区| 午夜精品爽啪视频| jlzzjlzz欧美大全| 欧美不卡一区二区三区四区| 亚洲综合一区在线| 成人免费视频国产在线观看| 日韩女优毛片在线| 午夜精品一区二区三区电影天堂| 成人激情免费电影网址| 久久在线免费观看| 全国精品久久少妇| 欧美日韩免费视频| 亚洲精品午夜久久久| 成人美女在线视频| 精品国产不卡一区二区三区| 五月天激情综合网| 欧美午夜寂寞影院| 亚洲人成网站色在线观看| 国产精品系列在线观看| 日韩女优制服丝袜电影| 天堂精品中文字幕在线| 94色蜜桃网一区二区三区| 中文字幕精品一区二区精品绿巨人| 老汉av免费一区二区三区| 欧美人妖巨大在线| 午夜私人影院久久久久| 在线免费一区三区| 亚洲一区免费视频| 色乱码一区二区三区88| 日韩毛片一二三区| 99久久精品国产毛片| 中文字幕日韩一区| 91免费看视频| 亚洲免费观看在线视频| av午夜一区麻豆| 亚洲欧美偷拍卡通变态| 色综合色综合色综合| 亚洲精品视频在线| 欧美中文字幕亚洲一区二区va在线 | 亚洲色大成网站www久久九九| 99视频在线精品| 日韩伦理电影网| 欧美中文字幕一二三区视频| 亚洲国产成人精品视频| 欧美一区二区三区公司| 国内成+人亚洲+欧美+综合在线| 日韩视频123| 国产激情91久久精品导航 | 色综合久久综合网欧美综合网| 亚洲欧美日韩系列| 欧美日韩国产首页| 另类小说视频一区二区| 国产清纯美女被跳蛋高潮一区二区久久w| 国产成人无遮挡在线视频| 亚洲欧美国产77777| 欧美日韩在线亚洲一区蜜芽| 麻豆精品久久精品色综合| 久久久精品黄色| 91在线一区二区| 日韩中文字幕1| 亚洲女同女同女同女同女同69| 欧美一级生活片| 成人免费看视频| 午夜精品视频一区| 久久精品男人天堂av| 一本一道综合狠狠老| 美国av一区二区| 亚洲精品五月天| 久久蜜桃一区二区| 在线免费不卡视频| 国产一区不卡在线| 亚洲国产精品久久一线不卡| 久久婷婷久久一区二区三区| 欧美亚洲综合久久| 国产美女精品在线| 首页国产欧美日韩丝袜| 久久精品亚洲精品国产欧美| 欧美日韩国产色站一区二区三区| 黑人精品欧美一区二区蜜桃| 亚洲精品网站在线观看| 久久久亚洲午夜电影| 7878成人国产在线观看| 成人美女视频在线观看| 久久爱www久久做| 亚洲成人动漫在线观看| 国产精品的网站| 久久久九九九九| 欧美mv日韩mv国产网站app| 在线一区二区三区四区| 成人黄色av电影| 久久精品国产网站| 亚洲va欧美va天堂v国产综合| 国产精品国产三级国产aⅴ中文| 精品99一区二区三区| 这里只有精品电影| 在线观看区一区二| 色婷婷久久一区二区三区麻豆| 大陆成人av片| 国产a区久久久| 国产资源精品在线观看| 麻豆精品精品国产自在97香蕉| 日本女优在线视频一区二区| 午夜激情一区二区三区| 亚洲成人免费电影| 亚洲国产中文字幕| 天堂成人免费av电影一区| 日韩精品91亚洲二区在线观看| 婷婷国产在线综合| 美女任你摸久久 | 成人精品亚洲人成在线| 国产精品资源网| 岛国av在线一区| 色综合久久久久久久久久久| 在线观看一区二区精品视频| 91成人国产精品| 欧美一区二区视频在线观看 | 国产一区二区三区高清播放| 国模无码大尺度一区二区三区| 国产精品夜夜嗨| 波波电影院一区二区三区| 97se亚洲国产综合自在线不卡 | 91亚洲国产成人精品一区二三| 北条麻妃一区二区三区| 国产99久久久国产精品| 国产精品一区二区果冻传媒| gogo大胆日本视频一区| 成人免费看的视频| 成年人国产精品| 不卡视频一二三四| 国产精品香蕉一区二区三区| 国产福利一区二区三区视频在线 | 91一区二区三区在线观看| 成人精品gif动图一区| 欧洲国内综合视频| 欧美日韩大陆一区二区| 91精品久久久久久久99蜜桃| 久久众筹精品私拍模特| 久久精品视频一区| 国产精品久久二区二区| 国产三区在线成人av| 一区二区三区电影在线播| 亚洲18色成人| 福利91精品一区二区三区| 丝袜美腿亚洲综合| 卡一卡二国产精品| 国产一区在线观看视频| 欧美午夜片在线看| 日韩一级成人av| 欧美激情在线观看视频免费| 日韩伦理免费电影|