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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Fuzzy-Set-theory

  • asp實現限制一個ip只能訪問一次的方法

    asp實現限制一個ip只能訪問一次的方法 <%  '/////////////////////////////////////////////////////  '// //  '//作用:一個IP地址只允許訪問本頁一次 //  '//引用:<!-- #include file="Check_Ip.asp" --> //  '// //  '/////////////////////////////////////////////////////    'Response.Charset = 936 '設置輸出編碼為簡體中文  'Response.Buffer = false '關閉緩沖區    Dim Fso,ts,IpList,Cfs    '設置Cookies函數  Function SetCookie()  Response.Cookies("IsBrow") = "Brow" Response.Cookies("IsBrow").Expires = Date+365  End Function    '記錄IP地址函數  Function WriteIp(FileName, IpAddress)  Set Fso = Server.CreateObject("Scripting.FileSystemObject")  Set ts = Fso.OpenTextFile(Server.MapPath(FileName),8,true)  ts.WriteLine IpAddress  ts.Close  Set ts = Nothing  Set Fso = Nothing  End Function    '讀取IP地址函數  Function ReadIpList(FileName)  Set Fso = Server.CreateObject("Scripting.FileSystemObject")  If Not Fso.FileExists(Server.MapPath(FileName)) Then  CreateFile("Iplist.txt")  Exit Function  End If    Set ts = Fso.OpenTextFile(Server.MapPath(FileName))  Iplist = ts.ReadAll  ts.Close  Set ts = Nothing  Set Fso = Nothing  ReadIpList = Iplist  End Function    '創建文件函數  Function CreateFile(FileName)  Set Fso = Server.CreateObject("Scripting.FileSystemObject")  Set Cfs = Fso.CreateTextFile(Server.MapPath(FileName))  Cfs.Close  Set Cfs = Nothing  Set Fso = Nothing  End Function    '關閉當前IE窗口函數(注:IE6下通過,其他瀏覽器未測試)  Function CloseWindow()  'Response.Write "<script>window.location='javascript:window.opener=null;window.close();'</script>"  Response.Redirect "http://www.baidu.com" End Function    Ip = Request.ServerVariables("REMOTE_ADDR") '獲取瀏覽者IP地址    Cookie = Request.Cookies("IsBrow") '獲取當前Cookies  'Response.Write Cookie    If Request.ServerVariables("HTTP_X_FORWARDED_FOR") <> "" Then  Response.Write "本站不允許使用代理訪問" Response.End()  Else  If Cookie = "Brow" Then  CloseWindow()  Else  If Instr(ReadIpList("Iplist.txt"),Ip) <>0  Then  CloseWindow()  Else  WriteIp "Iplist.txt" , Ip  End If  SetCookie()  End If  End If  %>

    標簽: asp 訪問

    上傳時間: 2016-07-14

    上傳用戶:helei0915

  • gold caculation method

    caculation,method,gold,optimazation theory and methods,matlab

    標簽: caculation method gold optimazation

    上傳時間: 2016-12-22

    上傳用戶:楊一一一

  • C語言算法排序問題

    1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.)

    標簽: 算法 排序

    上傳時間: 2017-04-01

    上傳用戶:糖兒水嘻嘻

  • c語言算法排序

    1.Describe a Θ(n lg n)-time algorithm that, given a set S of n integers and another integer x, determines whether or not there exist two elements in S whose sum is exactly x. (Implement exercise 2.3-7.) #include<stdio.h> #include<stdlib.h> void merge(int arr[],int low,int mid,int high){      int i,k;      int *tmp=(int*)malloc((high-low+1)*sizeof(int));      int left_low=low;      int left_high=mid;      int right_low=mid+1;      int right_high=high;      for(k=0;left_low<=left_high&&right_low<=right_high;k++)      {      if(arr[left_low]<=arr[right_low]){                                        tmp[k]=arr[left_low++];                                        }      else{           tmp[k]=arr[right_low++];           } }             if(left_low<=left_high){                              for(i=left_low;i<=left_high;i++){                                                               tmp[k++]=arr[i];                                                               }                              }       if(right_low<=right_high){                              for(i=right_low;i<=right_high;i++)                                                                tmp[k++]=arr[i];                                                        }                              for(i=0;i<high-low+1;i++)                                                       arr[low+i]=tmp[i];       } void merge_sort(int a[],int p,int r){      int q;      if(p<r){              q=(p+r)/2;              merge_sort(a,p,q);              merge_sort(a,q+1,r);              merge(a,p,q,r);              }      } int main(){     int a[8]={3,5,8,6,4,1,1};     int i,j;     int x=10;     merge_sort(a,0,6);     printf("after Merging-Sort:\n");     for(i=0;i<7;i++){                      printf("%d",a[i]);                      }     printf("\n");     i=0;j=6;     do{                                    if(a[i]+a[j]==x){                                  printf("exist");                                  break;                                  }                  if(a[i]+a[j]>x)                                 j--;                  if(a[i]+a[j]<x)                                 i++;                       }while(i<=j);     if(i>j)              printf("not exist");     system("pause");     return 0;     }

    標簽: c語言 算法 排序

    上傳時間: 2017-04-01

    上傳用戶:糖兒水嘻嘻

  • Structure and Geometry of Lie Groups

    To locate the theory of Lie groups within mathematics, one can say that Lie groups are groups with some additional structure that permits us to apply analytic techniques such as differentiation in a group theoretic context.

    標簽: Structure Geometry Groups Lie and of

    上傳時間: 2017-07-31

    上傳用戶:wyq3536

  • TMS320F240 instruction set

    TMS320F240DSP的匯編指令,用于了解該型號dsp的匯編指令的及具體含義,以便進行匯編指令的編寫

    標簽: instruction 320F F240 TMS 320 240 set

    上傳時間: 2017-11-16

    上傳用戶:yhj140260126

  • Fundamentals of Wavelets

    Fundamentals of Wavelets - Theory Algorithms and Applications 2ed_Jaideva C.Goswami Wiley 2011 

    標簽: Fundamentals Applications Algorithms Wavelets Theory 2ed and of

    上傳時間: 2018-03-22

    上傳用戶:caigen0001

  • 最優性能滑模控制

    Optimal Guaranteed Cost Sliding-Mode Control of Interval Type-2 Fuzzy Time-Delay Systems

    標簽: 性能 滑模控制

    上傳時間: 2019-07-24

    上傳用戶:sjjy0220

  • 基于模糊聚類分析與模型識別的微電網多目標優化方法

    在微電網調度過程中綜合考慮經濟、環境、蓄電池的 循環電量,建立多目標優化數學模型。針對傳統多目標粒子 群算法(multi-objective particle swarm optimization,MOPSO) 的不足,提出引入模糊聚類分析的多目標粒子群算法 (multi-objective particle swarm optimization algorithm based on fuzzy clustering,FCMOPSO),在迭代過程中引入模糊聚 類分析來尋找每代的集群最優解。與 MOPSO 相比, FCMOPSO 增強了算法的穩定性與全局搜索能力,同時使優 化結果中 Pareto 前沿分布更均勻。在求得 Pareto 最優解集 后,再根據各目標的重要程度,用模糊模型識別從最優解集 中找出不同情況下的最優方案。最后以一歐洲典型微電網為 例,驗證算法的有效性和可行性。

    標簽: 模糊 模型識別 微電網 多目標優化 聚類分析

    上傳時間: 2019-11-11

    上傳用戶:Dr.趙勁帥

  • 機器學習,模型評估

    在學習得到的模型投放使用之前,通常需要對其進行性能 評估。為此, 需使用一個“測試集”(testing set)來測試 模型對新樣本的泛化能力,然后以測試集上的“測試誤差 ”(testing error)作為泛化誤差的近似。

    標簽: 機器學習 模型

    上傳時間: 2020-04-22

    上傳用戶:89feiyang

主站蜘蛛池模板: 金华市| 康平县| 桑日县| 泰顺县| 兴化市| 尼木县| 隆子县| 沙洋县| 六安市| 青铜峡市| 北碚区| 沂源县| 普定县| 南安市| 怀化市| 前郭尔| 九台市| 嘉祥县| 靖宇县| 上杭县| 延吉市| 志丹县| 桃源县| 龙游县| 贵德县| 襄樊市| 巴林左旗| 平原县| 兴业县| 宁国市| 禄丰县| 手游| 锡林郭勒盟| 上思县| 呼和浩特市| 莲花县| 喀喇沁旗| 夏津县| 巴林右旗| 莒南县| 岳普湖县|