-
McCormick envelopes - optimization
说明: McCormick包络,用来松弛bilinear item,McCormick envelopes - optimization(McCormick envelopes - optimization
bilinear item)
- 2020-11-12 18:49:44下载
- 积分:1
-
一个求大数阶乘的算法,速度不是很快,可以参考。
一个求大数阶乘的算法,速度不是很快,可以参考。-a majority for the factorial algorithm, the speed is not very high, they can refer to.
- 2022-10-11 09:40:03下载
- 积分:1
-
画带有坐标系的网格图
说明: 通过sms 得到grd文件,以此画出网格图(The GRD file is obtained by SMS, and the grid diagram is drawn)
- 2021-01-05 16:28:54下载
- 积分:1
-
heat
实现了一维并行传热,基于有限体积法的fortran源程序!(heat parallel)
- 2011-12-27 22:25:37下载
- 积分:1
-
n的阶乘(迭代)
说明: 利用迭代实现n的阶乘,极为简单的程序,方便初学者看懂(Using Iteration to Realize the Factorial of n)
- 2020-06-20 14:00:02下载
- 积分:1
-
07-1
Membership Value calculateion for Fuzzy Control
- 2009-04-14 08:07:31下载
- 积分:1
-
GTS4轴点位2轴插补多线程能处理
固高GTS控制卡,4轴运动,2轴插补多线程程序处理(GTS ,4-axis Motion, 2-axis Interpolation Multithread Processing)
- 2020-09-10 06:08:03下载
- 积分:1
-
PRIM
说明: 构造最小生成树的常用方法是Prim算法与Kruskal算法,二者都是基于贪心算法设计侧略。(Construction of the commonly used minimum spanning tree algorithm is Prim and Kruskal algorithms, both are based on the design side of a little greedy algorithm.)
- 2009-08-23 16:22:15下载
- 积分:1
-
VANET-Simulation--master
vanet simulation for v2v and v2i
- 2020-12-16 16:39:13下载
- 积分:1
-
CoStream 无缓存 Pipe Stream
翻译 maninwest@Codeforge 作者:Sergey Nozhenko@CodeProject介绍:CoStream 是的 PipeStream 无缓存替代选择。背景在生产者/消费者模式下,如果我们知道一个消费者确定要读取stream 读到结束或者如果不能读到结束就处理,那么同步stream 就不需要维护自己的内部缓存,完全依赖于 Read 方法调用者的缓存。在Read 方法中,CoStream 保存到目标缓存的引用并等待,直至完成。而 write 方法从源缓存中复制数据到目标缓存,会给读取者发送信号缓存已准备就绪或者需要等待期 Read 调用(如果来源缓存中有未消耗的数据剩下或者返回到Writer 调用者)。使用代码CoStream 不能在单个话题中使用。应该至少有两个,读取和写入话题。两者都需要关闭(或处理)stream,一边对方可以继续到结束。测试程序在 XmlDocument 中加载了一些 xml 文件。然后将其写入到 CoStream 的实例Static CoStream costream = new TestCoStream();
static string outpath;
static void Main(string[] args)
{
// ...
XmlDocument doc = new XmlDocument();
doc.Load(args[0]);
outpath = args[1];
var reading_thread = new Thread(ReaderBody);
reading_thread.Start();
using (var pipe = XmlWriter.Create(costream, new XmlWriterSettings { CloseOutput = true }))
doc.Save(pipe);
reading_thre
- 2022-03-17 17:34:17下载
- 积分:1