-
离散数学 输出真值表实验
本实验要求大家利用C/C++语言,实现任意输入公式的真值表计算。一般我们将公式中的命题变元放在真值表的左边,将公式的结果放在真值表的右边。命题变元可用数值变量表示,合适公式的表示及求真值表转化为逻辑运算结果;可用一维数表示合式公式中所出现的n个命题变元,同时它也是一个二进制加法器的模拟器,每当在这个模拟器中产生一个二进制数时,就相当于给各个命题变元产生了一组真值指派。算法逻辑如下:
(1)将二进制加法模拟器赋初值0
(2)计算模拟器中所对应的一组真值指派下合式公式的真值。
(3)输出真值表中对应于模拟器所给出的一组真值指派及这组真值指派所对应的一行真值。
(4)产生下一个二进制数值,若该数值等于2n-1,则结束,否则转(2)。
- 2022-03-01 19:02:09下载
- 积分:1
-
A given voice signal amplification procedures, can enter multiples of amplificat...
一个给语音信号进行放大的程序,可以输入放大的倍数,输入放大后的语音信号。倍数是指语音的幅度,不是指能量。-A given voice signal amplification procedures, can enter multiples of amplification, the amplified voice input signal. Refers to a multiple of the range of voice, not energy.
- 2022-08-17 20:36:34下载
- 积分:1
-
动态规划分析例子,实用ACM教程:矩阵连乘,LCR,基因函数等
动态规划分析例子,实用ACM教程:矩阵连乘,LCR,基因函数等-Examples of dynamic programming analysis, practical tutorials ACM: even by matrix, LCR, such as gene function
- 2022-10-02 12:10:04下载
- 积分:1
-
贝叶斯算法用java程序
有关贝叶斯算法的java程序 优化计算和预测功能 比较好用-bayes arithmetic using java program
- 2022-10-06 12:20:03下载
- 积分:1
-
遗传算法:PID参数整定
遗传算法入门实例之一:用在PID参数整定上(转自阿莫论坛)
- 2023-06-13 19:35:55下载
- 积分:1
-
计算弹性模量的小程序,学力学的同学用得上
计算弹性模量的小程序,学力学的同学用得上-calculate the elastic modulus of small programs, students learn mechanics useful
- 2022-03-14 22:22:19下载
- 积分:1
-
C语言。二分法,一个简单的迭代方法,一个牛顿迭代的方法…
用C语言来实现。二分法,简单迭代法矣牛顿迭代法这三种方法来求非线性的方程的根,比较这三种的收敛性。-C language. Dichotomy, a simple iterative method Yi Newton iteration of these three methods for nonlinear equations root, comparing the convergence of three.
- 2022-01-25 14:43:08下载
- 积分:1
-
k-means algorithm
用java程序实现文档集合聚类的k-means算法。
- 2022-01-27 12:52:24下载
- 积分:1
-
一个程序来寻找频繁项集(关闭和最大)与Eclat算法…
A program to find frequent itemsets (also closed and maximal) with the eclat algorithm ,which carries out a depth first search on the subset lattice and determines the support of itemsets by intersecting transaction lists. -A program to find frequent itemsets (also c losed and maximal) with the eclat algorithm, which carries out a depth first search on the sub set lattice and determines the support of items ets by intersecting transaction lists.
- 2022-02-20 07:32:43下载
- 积分:1
-
matlat程序数据拟合例子
要自己再输入数据文件的
matlat程序数据拟合例子
要自己再输入数据文件的-matlat examples of data fitting procedure to re-enter their own data files
- 2023-05-17 17:10:03下载
- 积分:1