CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - a-w
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - a-w - List
[
Console
]
circlecutting
DL : 0
集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高? 本程序要求用贪心算法解决: 贪心算法总是作出在当前看来是最好的选择。也就是说,不从整体最优上加以考虑,它所做出的仅是在某种意义上的局部最优解。 -problem given a container, its long-L, width W and H for high, the existing batch of cylindrical wood, wood-per-L are, but different radius, based its i-ri radius of the wood. Asked how crates, containers make maximum utilization of space? The procedural requirements with greedy algorithm : greedy algorithm always make the current appears to be the best option. That is to say, not on the whole be considered optimal, it is made only in a sense, the local optimal solution.
Date
: 2008-10-13
Size
: 1.63kb
User
:
林茜
[
Console
]
ls
DL : 0
LS by Cao Siqin, 2007.7.17 ls [-l/-w/-s][-d/-f][-acpo!?] [path or file name mask1] [mask2 ...] Options: -? : display this help -l : list details -a : list all files -w/s : list in a line, file names are sepatated by tab -p : file name with full path -q : if file name contains space then use \" to embrace it -c : swith on/off color -d : list folders only -f : list files only -o : omit file s extension name -O : omit all file s extension names -! : use kernel API instead of stream function to list other options : will be ignored Color: yellow : directory gray : hidden file/directory red : readonly file/directory blue : compressed file/directory green : system file/directory white : normal file/directory Noice: There should be less then 100 masks -l/-w, -d/-f can t be both valid, only the latter will be Both \"-\" and \"/\" can be used to define options
Date
: 2008-10-13
Size
: 23.04kb
User
:
孙谨
[
Console
]
circlecutting
DL : 0
集装箱的装箱问题 给定一个集装箱,其长为L,宽为W和高为H,现有一批圆柱形木材,每根木材的长均为L,但是半径不同,设第i根木材半径为ri。问如何装箱,使得集装箱的空间利用率最高? 本程序要求用贪心算法解决: 贪心算法总是作出在当前看来是最好的选择。也就是说,不从整体最优上加以考虑,它所做出的仅是在某种意义上的局部最优解。 -problem given a container, its long-L, width W and H for high, the existing batch of cylindrical wood, wood-per-L are, but different radius, based its i-ri radius of the wood. Asked how crates, containers make maximum utilization of space? The procedural requirements with greedy algorithm : greedy algorithm always make the current appears to be the best option. That is to say, not on the whole be considered optimal, it is made only in a sense, the local optimal solution.
Date
: 2025-12-29
Size
: 1kb
User
:
林茜
[
Console
]
ls
DL : 0
LS by Cao Siqin, 2007.7.17 ls [-l/-w/-s][-d/-f][-acpo!?] [path or file name mask1] [mask2 ...] Options: -? : display this help -l : list details -a : list all files -w/s : list in a line, file names are sepatated by tab -p : file name with full path -q : if file name contains space then use " to embrace it -c : swith on/off color -d : list folders only -f : list files only -o : omit file s extension name -O : omit all file s extension names -! : use kernel API instead of stream function to list other options : will be ignored Color: yellow : directory gray : hidden file/directory red : readonly file/directory blue : compressed file/directory green : system file/directory white : normal file/directory Noice: There should be less then 100 masks -l/-w, -d/-f can t be both valid, only the latter will be Both "-" and "/" can be used to define options-LS by Cao Siqin, 2007.7.17 ls [-l/-w/-s][-d/-f][-acpo!?] [path or file name mask1] [mask2 ...] Options: -? : display this help -l : list details -a : list all files -w/s : list in a line, file names are sepatated by tab -p : file name with full path -q : if file name contains space then use " to embrace it -c : swith on/off color -d : list folders only -f : list files only -o : omit file s extension name -O : omit all file s extension names -! : use kernel API instead of stream function to list other options : will be ignored Color: yellow : directory gray : hidden file/directory red : readonly file/directory blue : compressed file/directory green : system file/directory white : normal file/directory Noice: There should be less then 100 masks -l/-w,-d/-f can t be both valid, only the latter will be Both "-" and "/" can be used to define options
Date
: 2025-12-29
Size
: 23kb
User
:
孙谨
[
Console
]
Dijkstra
DL : 0
1 将顶点集V分成 S(开始只包含源点, S包含的点都是已经计算出最短路径的点) 和 V-S 集合(V-S 包含那些未确定最短路径的点) 2. 从V-S中选取这样一个顶点w: 满足经过S集合中任意顶点 v到w 的路径最短, 即 满足( 源到v的路径 + v到w的路径) 最小的那个w. 其中v 属于S, w属于S-V。将w 加入S, 并从V-S中移除w. 3. 如此反复,直到V-S变空集为止-1 to the vertex set V into S (the beginning contains only the source, S contains the points are already calculated the shortest path points) and set VS (VS contains the points that determined the shortest path) 2. From the VS select a vertex w: S set to meet through any vertex v shortest path to w that satisfy (the path of the source to the v+ v to w in the path of) the smallest one that w. v belong to S, w belongs to SV. The w added S, and removed from the VS w. 3. So repeatedly, until the empty set up VS
Date
: 2025-12-29
Size
: 785kb
User
:
bob
[
Console
]
Shader4
DL : 0
GLSL进行动态Cube Mapping, 以及静态的Spherical Mapping. 使用w, q, e, a, s, d控制反光球位置,i, I, o, O, p, P 控制反光球方向 z, Z, x, X, c, C控制照相机角度,上 下 左 右控制照相机位置 用v 切换进入Cube mapping 或 Spherical Mapping, Spherical mapping 采用的是另一场景,和天空盒无关。 -The Cube the Mapping of GLSL dynamic and static the Mapping of Spherical w, q, e, a, s, d control the reflective ball position, i, o, O, p, P control reflective ball direction z, Z, x X, and c, control the camera angle up and down to control the camera position with v switch to Cube mapping or Spherical Mapping, Spherical the mapping is another scene, and the sky box.
Date
: 2025-12-29
Size
: 3.77mb
User
:
陽宸
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.