-
布谷鸟DG规划
说明: 通过布谷鸟群算法对设定的多个目标进行优化,并最终获得分布式电源的最优选址定容(Through the CUCKOO swarm algorithm to optimize the set of multiple objectives, and finally obtain the optimal location of distributed generation capacity)
- 2021-03-24 07:59:14下载
- 积分:1
-
VC++6.0 在程序内注册ActiveX控件的例子源码
VC++6.0 在程序内注册ActiveX控件的例子源码,在程序中动态注册控件到Windows系统中,注册后所依赖该控件的程序才可正常运行。核心代码如下:
//加载ActiveX控件
HINSTANCE hLib = LoadLibrary(lpszDllName);
if (hLib == NULL)
{
TRACE(_T("%s加载失败
"), lpszDllName);
return FALSE;
}
//获得注册函数DllRegisterServer地址
FARPROC lpDllEntryPoint;
lpDllEntryPoint = GetProcAddress(hLib, _T("DllRegisterServer"));
//调用注册函数DllRegisterServer
if (lpDllEntryPoint != NULL)
{
if (FAILED((*lpDllEntryPoint)()))
{
TRACE(_T("调用DllRegisterServer失败
"));
FreeLibrary(hLib);
return FALSE;
}
else
{
FreeLibrary(hLib);
return TRUE;
}
}
else
{
TRACE(_T("调用DllRegisterServer失败
"));
FreeLibrary(hLib);
return FALSE;
}
更多代码请下载本源码包。
- 2022-08-18 20:45:44下载
- 积分:1
-
LL(1)文法分析
LL(1)文法的识别,和LL(1)分析表的构造(Recognition of LL(1) Grammar and Construction of LL(1) Analysis Table)
- 2019-01-02 15:59:09下载
- 积分:1
-
slle
matlab slle的实现和相应例子,用于数据降维和类型识别,放入工作区即可使用(Matlab installation package for SLLE algorithm)
- 2021-03-19 22:39:18下载
- 积分:1
-
布谷鸟
布谷鸟优化算法是对参数进行优化的算法,为元启发式算法的一种(The optimization algorithm of cuckoo is an optimization algorithm for the parameters)
- 2020-06-29 07:00:02下载
- 积分:1
-
温湿度上位机
说明: qt 温湿度上位机client的例子,可以直接下载使用,对于初学者很有用。(Qt Temperature and humidity PC example, can be downloaded and used directly, useful for beginners.)
- 2019-03-18 16:05:48下载
- 积分:1
-
一:需求分析
1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。
2.问题描述:
一个逻辑表达式如果对于其变元的任一种取值都为...
一:需求分析
1.本程序需掌握树和二叉树的概念及工作原理,运用其原理及概念完成实验.。
2.问题描述:
一个逻辑表达式如果对于其变元的任一种取值都为真,则称为重言式;反之,如果对于其变元的任一种取值都为假,则称为矛盾式;然而,更多的情况下,既非重言式,也非矛盾式。试写一程序,通过真值表判断一个逻辑表达式属于那一类。
3.基本要求:
(1)逻辑表达式从终端输入,长度不超过一行。逻辑运算符包括“|”,“&”和“~”,
分别表示或、与和非,运算优先程度递增,但可以有括号改变,即括号内的运算优先。逻辑变元为大写字母。表达式中任何地方都可以含有多个空格符。
(2)若是重言式或矛盾式,可以只“显示True forever”或“False forever”,否则显示“Satisfactible”以及变量名序列,与用户交互。若用户对表达式中变元取一组值,程序就求出并显示逻辑表达式的值。
-1 : a needs analysis. The process required the trees and the binary tree master the concept and principle, to use its principles and the concept of completion of the pilot. . 2. Problem description : If a logical expression for the changes in the yuan"s value for a true, as tautology; Instead, If the changes for the yuan"s value for a fake, then called the contradiction; However, the more the situation, neither tautology. is not a contradiction. Try to write a procedure for the adoption of a truth table judgment logical expression belong into that category. 3. Basic requiremen
- 2022-01-23 10:34:57下载
- 积分:1
-
maghni
Lacquering, metallizing, shot blasting and
High-quality chemical treatment
On all types of metals.
- 2017-06-28 17:20:34下载
- 积分:1
-
zxing
说明: 打印条码类 通用pdf打印和二维码打印 一维码打印等(Printing Bar Code Generic PDF Printing and Two-Dimensional Code Printing, One-Dimensional Code Printing, etc.)
- 2020-06-17 15:20:12下载
- 积分:1
-
fdtd
利用FDTD计算二维光子晶体带隙的matlab源程序(FDTD)
- 2009-10-31 19:41:59下载
- 积分:1