登录
首页 » AI-NN-PR » 回溯法求01背包问题,c语言版本,由于时间关系没有将代码进行很好的整理,所有代码都在一个文件中...

回溯法求01背包问题,c语言版本,由于时间关系没有将代码进行很好的整理,所有代码都在一个文件中...

于 2022-02-04 发布 文件大小:1.67 kB
0 140
下载积分: 2 下载次数: 1

代码说明:

回溯法求01背包问题,c语言版本,由于时间关系没有将代码进行很好的整理,所有代码都在一个文件中-Retrospective Method 01 knapsack problem, c language versions, due to time not finishing a very good code, all code in one file

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Hopfield 网――擅长于联想记忆与解迷路 实现H网联想记忆的关键,是使被记忆的模式样本对应网络能量函数的极小值。 设有M个N维记忆模式,通过对网络N个神经
    Hopfield 网――擅长于联想记忆与解迷路 实现H网联想记忆的关键,是使被记忆的模式样本对应网络能量函数的极小值。 设有M个N维记忆模式,通过对网络N个神经元之间连接权 wij 和N个输出阈值θj的设计,使得: 这M个记忆模式所对应的网络状态正好是网络能量函数的M个极小值。 比较困难,目前还没有一个适应任意形式的记忆模式的有效、通用的设计方法。 H网的算法 1)学习模式――决定权重 想要记忆的模式,用-1和1的2值表示 模式:-1,-1,1,-1,1,1,... 一般表示: 则任意两个神经元j、i间的权重: wij=∑ap(i)ap(j),p=1…p; P:模式的总数 ap(s):第p个模式的第s个要素(-1或1) wij:第j个神经元与第i个神经元间的权重 i = j时,wij=0,即各神经元的输出不直接返回自身。 2)想起模式: 神经元输出值的初始化 想起时,一般是未知的输入。设xi(0)为未知模式的第i个要素(-1或1) 将xi(0)作为相对应的神经元的初始值,其中,0意味t=0。 反复部分:对各神经元,计算: xi (t+1) = f (∑wijxj(t)-θi), j=1…n, j≠i n―神经元总数 f()--Sgn() θi―神经元i发火阈值 反复进行,直到各个神经元的输出不再变化。-Hopfield network-- good at associative memory solution with the realization of lost H associative memory networks, are key to bringing the memory model samples corresponding network energy function of the minimum. With M-N-dimensional memory model, the network N neurons connect between right wij and N output threshold j design makes : M-mode memory corresponding to the network is a state network energy function is the M-000 minimum. Mor
    2023-03-24 10:55:03下载
    积分:1
  • 利用遗传算法对图像进行分类处理,包括遗传的思想和实现,以及在图像方面的应用。...
    利用遗传算法对图像进行分类处理,包括遗传的思想和实现,以及在图像方面的应用。-The use of genetic algorithm to classify the image processing, including genetic and realization of the idea, as well as the application of the image.
    2023-03-21 23:10:03下载
    积分:1
  • java的神经网络工具箱
    java的神经网络工具箱-java nerve network toolbox
    2022-07-14 07:20:27下载
    积分:1
  • XCS for Continuous Dynamic Environments Test versions of XCS problem : real mult...
    -连续动态环境的XCS问题的测试版本:真实的多路复用器实验:XCS是在动态环境中探索的,对基本概念有不同程度的改变。参考文献:H.H.Dam,H.A.Abbass,C.J.Lokan。进化在线数据挖掘是一种动态环境下的研究。2005被《斯普林格计算智能研究丛书》中的一章所接受H.H.D.am,H.a.Abbass,C.J.Lokan。要真实!具有连续值输入的XCS。IW LCS 2005。学习分类系统国际研讨会。华盛顿特区,2005年6月。
    2022-01-21 21:53:12下载
    积分:1
  • 程序用C语言实现了贝叶斯在数据挖掘中分类和预测中的应用,通过程序可以很好的进行分类和预测。...
    程序用C语言实现了贝叶斯在数据挖掘中分类和预测中的应用,通过程序可以很好的进行分类和预测。-This program use C language to realize the application of bayes in data mining and forecasting,you can use this program to make a good classification and forecasting
    2022-03-12 15:16:54下载
    积分:1
  • ID3 algorithm to a certain extent self
    ID3算法有一定的自学习、自组织能力,适用于复杂系统的智能诊断。以实例验证了该算法对RH-KTB真空抽气系统故障诊断的有效性。-ID3 algorithm to a certain extent self-learning, self-organization, applied to a complex system of intelligent diagnosis. Examples to show that the algorithm of RH- KTB vacuum exhaust system fault diagnosis arrival.
    2023-04-24 21:50:03下载
    积分:1
  • 一种神经网络开发程序集
    一个c语言开发的神经网络程序集-a Neural Network Development Program Set
    2022-07-27 20:05:34下载
    积分:1
  • 将强化学习算法应用于Tic
    将强化学习算法应用于Tic-tac-toe游戏-The reinforcement learning algorithm is applied to Tic-tac-toe game
    2022-01-26 03:08:18下载
    积分:1
  • A genetic algorithm using maltab gentitc toolbox ,abundant in content.Whats s m...
    maltab 的一个遗传算法的例子,比较全,有教你怎么初始化初始种群,设定参数,还有demo提供学习-A genetic algorithm using maltab gentitc toolbox ,abundant in content.Whats s more, you are teached how to initialize the initial population, set parameters. It also provide learning demos.
    2023-07-12 06:10:03下载
    积分:1
  • BP批处理源代码,可自由选择三层或多次网络,和神经元数目
    BP批处理源代码,可自由选择三层或多次网络,和神经元数目-BP batch source code, the freedom to choose three or more networks and the number of neurons
    2022-04-07 08:47:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载