代码搜索:Capacity
找到约 2,190 项符合「Capacity」的源代码
代码结果 2,190
www.eeworm.com/read/204978/15330674
2 knapsack.100.2
knapsack problem specification (2 knapsacks, 100 items)
=
knapsack 1:
capacity: +2732
item 1:
weight: +94
profit: +57
item 2:
weight: +74
profit: +94
item 3:
weight: +77
profit: +59
i
www.eeworm.com/read/204978/15330675
3 knapsack.250.3
knapsack problem specification (3 knapsacks, 250 items)
=
knapsack 1:
capacity: +7184
item 1:
weight: +84
profit: +21
item 2:
weight: +49
profit: +69
item 3:
weight: +68
profit: +26
i
www.eeworm.com/read/204978/15330677
4 knapsack.250.4
knapsack problem specification (4 knapsacks, 250 items)
=
knapsack 1:
capacity: +6819
item 1:
weight: +94
profit: +36
item 2:
weight: +46
profit: +67
item 3:
weight: +24
profit: +76
i
www.eeworm.com/read/356354/10230265
h favgroup.h
#ifndef __FAV_GROUP_H__
#define __FAV_GROUP_H__
#include"SITable.h"
#include"dvbdata.h"
typedef struct FavGroup{
INT serviceCount;
INT Capacity;
INT FavId;
char name[16];
SERVICELOCATOR*
www.eeworm.com/read/448428/7533598
cpp knapsack.cpp
#include
#include
#include
#include "knapsack.h"
void KnapsackByDp(int prmValue[], int prmWeight[], int prmCapacity, int (*prmBestValue)[CAPACITY+1])
{
for(int j
www.eeworm.com/read/314892/13556702
txt 4-4.txt
程序 4-4
import java.util.*;
public class MyVector extends Vector{
public MyVector(){
super(1, 1); // 指定 capacity 和 capacityIncrement 取值
}
public void addInt(int i){
addElement(new Integ
www.eeworm.com/read/482538/1287622
hh mixedqueue.hh
// -*- c-basic-offset: 4 -*-
#ifndef CLICK_MIXEDQUEUE_HH
#define CLICK_MIXEDQUEUE_HH
#include "notifierqueue.hh"
CLICK_DECLS
/*
=c
MixedQueue
MixedQueue(CAPACITY)
=s storage
stores packets in a FI
www.eeworm.com/read/455639/1609877
java algthread.java
/* AlgThread.java */
import java.awt.*;
import java.io.*;
import java.net.*;
import java.util.*;
public class AlgThread extends Thread {
int capacity = 7;
static String[] dataSets = {"Queue
www.eeworm.com/read/177008/5334069
h memory_buffer.h
#ifndef MEMORY_BUFFER_H
#define MEMORY_BUFFER_H
typedef struct {
unsigned char *buffer;
unsigned char *pos;
int size;
int capacity;
} MEMORY_BUFFER;
#ifndef MEMORY_BUFFER_C
#ifdef
www.eeworm.com/read/177008/5334196
h memory_buffer.h
#ifndef MEMORY_BUFFER_H
#define MEMORY_BUFFER_H
typedef struct {
unsigned char *buffer;
unsigned char *pos;
int size;
int capacity;
} MEMORY_BUFFER;
#ifndef MEMORY_BUFFER_C
#ifdef