-
See Appendix B for a description of the programs included
on this companion disk. RESOURCE.WRI identifies other books
and resources for Internet programming. WEBHELP.HLP contains
an introduction to the World Wide Web. TCPMAN.HLP provides
detailed instructions to help you use the Trumpet Winsock
included on this disk. Use the Program Manager s File menu
Run option to execute the SETUP.EXE program found on this
disk. SETUP.EXE will install the programs on your hard drive
and create an Internet Programming group window.
Internet編程技術 [配套程序]
[涉及平臺] VC
[作者] void
[文件大小] 1032K
標簽:
description
companion
Appendix
RESOURCE
上傳時間:
2013-12-04
上傳用戶:asasasas
-
* "Copyright (c) 2006 Robert B. Reese ("AUTHOR")"
* All rights reserved.
* (R. Reese, reese@ece.msstate.edu, Mississippi State University)
* IN NO EVENT SHALL THE "AUTHOR" BE LIABLE TO ANY PARTY FOR
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
* OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE "AUTHOR"
* HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
標簽:
Reese
B.
R.
Copyright
上傳時間:
2015-09-24
上傳用戶:mpquest
-
考察例1 4 - 8中的1 4個點。A中的最近點對為(b,h),其距離約為0 . 3 1 6。B中最近點對為
(f, j),其距離為0 . 3,因此= 0 . 3。當考察
是否存在第三類點時,除d, g, i, l, m 以外
的點均被淘汰,因為它們距分割線x= 1的
距離≥ 。RA ={d, i, m},RB= {g, l},由
于d 和m 的比較區中沒有點,只需考察i
即可。i 的比較區中僅含點l。計算i 和l
的距離,發現它小于,因此(i, l) 是最近
標簽:
上傳時間:
2013-12-03
上傳用戶:66666
-
Verilog HDL: Magnitude
For a vector (a,b), the magnitude representation is the following:
A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
標簽:
representation
Magnitude
the
magnitude
上傳時間:
2013-12-24
上傳用戶:金宜
-
問題描述
序列Z=<B,C,D,B>是序列X=<A,B,C,B,D,A,B>的子序列,相應的遞增下標序列為<2,3,5,7>。
一般地,給定一個序列X=<x1,x2,…,xm>,則另一個序列Z=<z1,z2,…,zk>是X的子序列,是指存在一個嚴格遞增的下標序列〈i1,i2,…,ik〉使得對于所有j=1,2,…,k使Z中第j個元素zj與X中第ij個元素相同。
給定2個序列X和Y,當另一序列Z既是X的子序列又是Y的子序列時,稱Z是序列X和Y的公共子序列。
你的任務是:給定2個序列X、Y,求X和Y的最長公共子序列Z。
標簽:
lt
序列
上傳時間:
2014-01-25
上傳用戶:netwolf
-
n皇后問題求解(8<=n<=1000)
a) 皇后個數的設定
在指定文本框內輸入皇后個數即可,注意: 皇后個數在8和1000 之間(包括8和1000)
b) 求解
點擊<Solve>按鈕即可進行求解.
c) 求解過程顯示
在標有Total Collision的靜態文本框中將輸出當前棋盤上的皇后總沖突數.
當沖突數降到0時,求解完畢.
d) 求解結果顯示
程序可以圖形化顯示8<=n<=50的皇后求解結果.
e) 退出程序,點擊<Exit>即可退出程序.
標簽:
1000
lt
設定
輸入
上傳時間:
2016-01-28
上傳用戶:ztj182002
-
Floyd-Warshall算法描述
1)適用范圍:
a)APSP(All Pairs Shortest Paths)
b)稠密圖效果最佳
c)邊權可正可負
2)算法描述:
a)初始化:dis[u,v]=w[u,v]
b)For k:=1 to n
For i:=1 to n
For j:=1 to n
If dis[i,j]>dis[i,k]+dis[k,j] Then
Dis[I,j]:=dis[I,k]+dis[k,j]
c)算法結束:dis即為所有點對的最短路徑矩陣
3)算法小結:此算法簡單有效,由于三重循環結構緊湊,對于稠密圖,效率要高于執行|V|次Dijkstra算法。時間復雜度O(n^3)。
考慮下列變形:如(I,j)∈E則dis[I,j]初始為1,else初始為0,這樣的Floyd算法最后的最短路徑矩陣即成為一個判斷I,j是否有通路的矩陣。更簡單的,我們可以把dis設成boolean類型,則每次可以用“dis[I,j]:=dis[I,j]or(dis[I,k]and dis[k,j])”來代替算法描述中的藍色部分,可以更直觀地得到I,j的連通情況。
標簽:
Floyd-Warshall
Shortest
Pairs
Paths
上傳時間:
2013-12-01
上傳用戶:dyctj
-
1. Matrix-chain product. The following are some instances
a) <3, 5, 2, 1,10>
b) <2, 7, 3, 6, 10>
c) <10, 3, 15, 12, 7, 2>
d) <7, 2, 4, 15, 20, 5>
標簽:
Matrix-chain
following
instances
product
上傳時間:
2014-11-28
上傳用戶:731140412
-
費諾編碼的步驟:
A 將概率按從大到小的順序排列
B 按編碼進制數將概率分組,使每組概率和盡可能接近或相等。
C 給每組分配一位碼元
D 將每一分組再按同樣原則劃分,重復b和c,直到概率不再可分為止
標簽:
編碼
概率
分組
進制數
上傳時間:
2016-06-24
上傳用戶:xinyuzhiqiwuwu
-
DESCRIPTION : BIN to seven segments converter
-- segment encoding
-- a
-- +---+
-- f | | b
-- +---+ <- g
-- e | | c
-- +---+
-- d
-- Enable (EN) active : high
-- Outputs (data_out) active : low
標簽:
DESCRIPTION
converter
segments
encoding
上傳時間:
2016-08-17
上傳用戶:ainimao