91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3KB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2021-01-01
  • 語言: 其他
  • 標簽: 分支定界??

資源簡介

能夠完美運行的分支定界法源程序,很好的學(xué)習(xí)實例

資源截圖

代碼片段和文件信息

#include??
#include?
#include?
#include?
#include?

#define?len?sizeof(struct?node)

using?namespace?std;

typedef?struct?node
{
float??bound;
int????staus[50];
struct?node?*next;
}node;

int?item[50]wlnstate[50];
float?value[50]weight[50]max_valueratio[50];

void?dele(node?*fathernode?*current)
{
if(current->next==NULL)
{
father->next=NULL;
return;
}
father->next=current->next;
}

void?init(node?*fathernode?*son)
{
int?i;
father->next=son;
for(i=0;i son->staus[i]=0;
son->next=NULL;
}

void?branch()
{
int???itj;
float?diffsum=0sum_value=0;
node??*head*sonbrother*father*son*prenode*p*q;

head?=?prenode?=?(node?*)malloc(len);
father?=?(node?*)malloc(le

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????4723??2012-08-29?15:28??Branch.cpp

?????文件???????3918??2012-08-29?11:03??Branch.vcxproj

?????文件????????944??2012-08-29?11:03??Branch.vcxproj.filters

?????文件????????143??2012-08-29?10:23??Branch.vcxproj.user

-----------?---------??----------?-----??----

?????????????????9728????????????????????4


評論

共有 條評論