-
Ttabbusearchha
用禁忌搜索算法求解tsp。。。。matlab写之,非常有意义
(Tabu search algorithm for solving tsp. . . . matlab write very meaningful)
- 2012-06-11 19:24:54下载
- 积分:1
-
AcquireKlg
专家系统 基于MFC 连接数据库有点复杂(MFC connect to the database based expert system)
- 2010-05-25 10:38:23下载
- 积分:1
-
zoj1094
zoj094
Matrix multiplication problem is a typical example of dynamical programming.
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. However, the number of elementary multiplications needed strongly depends on the evaluation order you choose.
For example, let A be a 50*10 matrix, B a 10*20 matrix and C a 20*5 matrix.
There are two different strategies to compute A*B*C, namely (A*B)*C and A*(B*C).
The first one takes 15000 elementary multiplications, but the second one only 3500.
Your job is to write a program that determines the number of elementary multiplications needed for a given evaluation strategy.
(Matrix multiplication problem is a typical example of dynamical programming.
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. However, the number of elementary multiplications needed strongly depends on the evaluation order you choose.
For example, let A be a 50*10 matrix, B a 10*20 matrix and C a 20*5 matrix.
There are two different strategies to compute A*B*C, namely (A*B)*C and A*(B*C).
The first one takes 15000 elementary multiplications, but the second one only 3500.
Your job is to write a program that determines the number of elementary multiplications needed for a given evaluation strategy.
)
- 2012-06-10 10:38:53下载
- 积分:1
-
VirtualDesktopRelease
C#实现的虚拟桌面源代码,开源项目源码。(C# source code to achieve the virtual desktop, open source projects)
- 2011-12-24 23:26:14下载
- 积分:1
-
fyp-rs232
rs232 communication for PIC 16f877 using ccs compiler
- 2011-11-01 15:37:14下载
- 积分:1
-
newz-fdtd
一种关于一维等离子体新的Z变换算法的程序,程序运行良好(A Z transform algorithm of one-dimensional plasma new program, the program runs well.)
- 2014-02-22 14:53:55下载
- 积分:1
-
suoxiang
通过DSP ECAP模块 捕获高频信号频率占空比信息,并实现锁相功能(ECAP captures high frequency signal frequency duty cycle)
- 2018-03-04 19:23:59下载
- 积分:1
-
SAT, GPA
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Assignment_2_1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnCalculate_Click(object sender, EventArgs e)
{
int GPA;
double SAT;
GPA = Convert.ToInt32(txtGPA.Text);
SAT = Convert.ToDouble(txtSAT.Text);
lblResult
txtGPA
txtSAT
btn
if (GPA > 100 || SAT > 1200)
{
MessageBox.Show("GPA > 100 or SAT > 1200 NOT ALLOW", "Input
too large", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
else
{
if (GPA > 50)
lblResult.Text = "Admit";
else
{
if (SAT>800)
lblResult.Text = "Co
- 2022-06-30 00:01:29下载
- 积分:1
-
仿射密码
仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码 仿射密码仿射密码
- 2022-10-14 07:55:02下载
- 积分:1
-
通过GPIO模拟IIC驱动,万用驱动,只需要修改IO控制部分
通过GPIO模拟IIC驱动,万用驱动,只需要修改IO控制部分
- 2023-04-04 18:15:03下载
- 积分:1