給定一批的樣本,當然這些樣本間必須相互獨立。如果Q > chi2(p, nu),假設拒絕,否則通過。 ARGUMENTS: x Absolut numbers. p The prob ability value, calculated from Q. Q The resulting Q-value.
標簽: 樣本
上傳時間: 2017-09-06
上傳用戶:yoleeson
This is the model of boost converter. The control of this converter is PID. With changing the cofficient of the P-I and D a good replay can be supplied.
標簽: converter the changing control
上傳時間: 2013-12-21
上傳用戶:阿四AIR
I implement Dijkstra s Single Source Shortest Path, say SSP, algorithm for directed graphs using a simple data structure, say simple scheme, Fibonacci heaps, say F-heap scheme, and Pairing heaps, say P-heap scheme, and measure the relative performance of the three implementations.
標簽: implement algorithm Dijkstra Shortest
上傳時間: 2014-01-01
上傳用戶:BIBI
1. 具有比較友好的GUI界面(仿照了我自己正在用的emacs); 2. 語法支持比較全面(畢竟是C-,語法還是不多的); 3. Error Recovery; 4. 生成p-code,便于理解; 5. 生成asm代碼,通過masm6.0基本都能編譯成功,但代碼沒有優化,效率極低。
上傳時間: 2014-01-12
上傳用戶:gaojiao1999
本論文研究了開源路由器的實現方法,通過具體的實驗在X O R P 上實現了R I P , O S P F , B G P 等一系列協議,在P A C K E T T R A C E R 上進行了仿真,并對開源路由器進行了性能評價。
標簽: 開源路由器
上傳時間: 2015-02-21
上傳用戶:13666909595
本論文研究了開源路由器的實現方法,通過具體的實驗在X O R P 上實現了R I P , O S P F , B G P 等一系列協議,在P A C K E T T R A C E R 上進行了仿真,并對開源路由器進行了性能評價。
標簽: 開源路由器
上傳時間: 2015-02-21
上傳用戶:13666909595
The object detector described below has been initially proposed by P.F. Felzenszwalb in [Felzenszwalb2010]. It is based on a Dalal-Triggs detector that uses a single filter on histogram of oriented gradients (HOG) features to represent an object category. This detector uses a sliding window approach, where a filter is applied at all positions and scales of an image. The first innovation is enriching the Dalal-Triggs model using a star-structured part-based model defined by a “root” filter (analogous to the Dalal-Triggs filter) plus a set of parts filters and associated deformation models. The score of one of star models at a particular position and scale within an image is the score of the root filter at the given location plus the sum over parts of the maximum, over placements of that part, of the part filter score on its location minus a deformation cost easuring the deviation of the part from its ideal location relative to the root. Both root and part filter scores are defined by the dot product between a filter (a set of weights) and a subwindow of a feature pyramid computed from the input image. Another improvement is a representation of the class of models by a mixture of star models. The score of a mixture model at a particular position and scale is the maximum over components, of the score of that component model at the given location.
標簽: 計算機視覺
上傳時間: 2015-03-15
上傳用戶:sb_zhang
本程序使用數值分析的方法找出任意函數指定區間內的所有實根。算法是通過一系列Chebyshev多項式畢竟目標函數,然后使用一種高效的數值分析方法(J.P. Boyd [see Appl. Num. Math. 56 pp.1077-1091 (2006)])求解出逼近函數的根。
上傳時間: 2015-04-02
上傳用戶:chen971103
? 出動m只螞蟻,每只螞蟻各隨機選擇一條路徑,記為I=[1 2 3···m],長度記為long(I); ? 計算出每條路徑的信息素濃度,記為P(I)=1/long(I),并進行歸一化處理; ? 重新出動m只螞蟻,按如下規則選擇路徑: l 每只螞蟻都以一個概率p1選擇新路徑(路徑隨機); l 未選擇新路徑的螞蟻以概率P(I)選擇路徑I; l 所有螞蟻都以一個小概率p2對自己的路徑進行局部變化; ? 更新所有路徑,計算出每條路徑的信息素濃度; ? 重復上述步驟,直至僅剩一條路徑。
上傳時間: 2015-04-16
上傳用戶:jackynie
兩個鏈表的交集 #include<stdio.h> #include<stdlib.h> typedef struct Node{ int data; struct Node *next; }Node; void initpointer(struct Node *p){ p=NULL; } int printlist(struct Node* head){ int flag=1; head=head->next; /* 因為標記1的地方你用了頭結點,所以第一個數據域無效,應該從下一個頭元結點開始 */ if(head==NULL) printf("NULL\n"); else { while(head!=NULL) { if(flag==1) { printf("%d",head->data); flag=0; } else { printf(" %d",head->data); } head=head->next; } printf("\n"); } return 0; } struct Node *creatlist(struct Node *head) { int n; struct Node *p1=(struct Node *)malloc(sizeof(struct Node)); p1->next=NULL; while(scanf("%d",&n),n!=-1) { struct Node *pnode=(struct Node *)malloc(sizeof(struct Node)); pnode->next=NULL; pnode->data=n; if(head==NULL) head=pnode; p1->next=pnode; p1=pnode; } return head; } struct Node *Intersect(struct Node *head1, struct Node *head2) { struct Node *p1=head1,*p2=head2;/*我這里沒有用頭指針和頭結點,這里是首元結點head1里面就是第一個數據,一定要理解什么事頭指針, 頭結點,和首元結點 具體你一定要看這個博客:http://blog.sina.com.cn/s/blog_71e7e6fb0101lipz.html*/ struct Node *head,*p,*q; head = (struct Node *)malloc(sizeof(struct Node)); head->next = NULL; p = head; while( (p1!=NULL)&&(p2!=NULL) ) { if (p1->data == p2->data) { q = (struct Node *)malloc(sizeof(struct Node)); q->data = p1->data; q->next = NULL; p->next = q;//我可以認為你這里用了頭結點,也就是說第一個數據域無效 **標記1** p = q; p1 = p1->next; p2 = p2->next; } else if (p1->data < p2->data) { p1 = p1->next; } else { p2 = p2->next; } } return head; } int main() { struct Node *head=NULL,*headt=NULL,*t; //initpointer(head);//這里的函數相當于head=NULL; // initpointer(headt);//上面已經寫了headt=NULL那么這里可以不用調用這個函數 head=creatlist(head); headt=creatlist(headt); t=Intersect(head,headt); printlist(t); }
標簽: c語言編程
上傳時間: 2015-04-27
上傳用戶:coco2017co