代码搜索结果
找到约 33,766 项符合
Algorithm 的代码
2400.cpp
/* This Code is Submitted by wywcgs for Problem 2400 on 2006-10-10 at 16:12:10 */
#include
#include
#include
using namespace std;
const int L = 128, S = 1
2364.cpp
/* This Code is Submitted by wywcgs for Problem 2364 on 2006-09-22 at 21:08:17 */
#include
#include
#include
using namespace std;
const int N = 1024;
int ma
2410.cpp
/* This Code is Submitted by wywcgs for Problem 2410 on 2006-10-26 at 11:57:18 */
#include
#include
using namespace std;
const int N = 102400;
const int D = 1024;
void b
asn1_algid.c
/****************************************************************************
* *
* ASN.1 Algorithm Identifier Routines *
* Copyright Peter Gutmann 1992-2008 *
aismain.m
function [] = AISMAIN
%
% Function AISMAIN Demonstration
% Runs a Demo for the following immune tools:
% 1) CLONALG (Basic Clonal Selection Algorithm)-----CLONALG.doc
%
%
% Secondary Functions:
make_rp.m
% make rp structure to be used for passing run
% parameters to the run_lms_pred algorithm
rp.Nruns = 100;
rp.Ndata = 500;
rp.mult = 200;
rp.verbose = 0;
rp.mu = 0.05;
rp.a =
wfill.m
function wline=wfill(vec, pcon, tol)
% WFILL: The Water Filling algorithm.
% WLINE = WFILL(VEC, PCON, TOL) performs the water filling algorithm
% with the given total power constrain to appr
big delay pid control with smith algorithm.m
%Big Delay PID Control with Smith Algorithm
clear all;close all;
Ts=20;
%Delay plant
kp=1;
Tp=60;
tol=80;
sys=tf([kp],[Tp,1],'inputdelay',tol);
dsys=c2d(sys,Ts,'zoh');
[num,den]=tfdata(dsys
generic algorithm .m
%Generic Algorithm for function f(x1,x2) optimum
clear all;
close all;
%Parameters
Size=80;
G=100;
CodeL=10;
umax=2.048;
umin=-2.048;
E=round(rand(Size,2*CodeL)); %Initial C
psoeld.m
% This program solves the economic dispatch with Bmn coefficients by
% Genetic Algorithm
% the data matrix should have 5 columns of fuel cost coefficients and plant limits.
% 1.a ($/MW^2) 2. b $/M