代码搜索结果
找到约 2,916 项符合
Energy 的代码
agc.c
/******************************************************************************
**
** Function : AGC()
**
** Description : AGC algorithm is used to automatically adjust the
acb_parm.c
#include
#include "main.h"
#include "acb_parm.h"
static void CalcAdaptConv(
float pc_imp[],
int len_trunc,
float Exc[],
int Exc_len,
float conv[]);
static void EndCorrectAdapt(
float con
acb_parm.c
#include "main.h"
#include "acb_parm.h"
static void CalcAdaptConv(
float pc_imp[],
int len_trunc,
float Exc[],
int Exc_len,
float conv[]);
static void EndCorrectAdapt(
float conv[],
float Exc[],
int
intservice.c
/* 标记脉冲宽度 */
static signed int total_energy_led_remaining_time;
unsigned long ul_actensper1,ul_actensper2;
//union signed_long_word ds;
/***************************************************
tsp.m
function out = tsp(loc)
% TSP Traveling salesman problem (TSP) using SA (simulated annealing).
% TSP by itself will generate 20 cities within a unit cube and
% then use SA to slove this problem.
cwpt2_test.m
i=double(imread('lenna512.pgm'));
imax = max(max(i));
% checking energy...
disp(sprintf('Initial energy = %.10g', sum(sum(i.^2)) ));
all_filter_types = {'spline', '7-9'};
for iter_filter_type = 1:2
satsp-matlab.txt
模拟退火算法
模拟退火算法来源于固体退火原理,将固体加温至充分高,再让其徐徐冷却,加温时,固体内部粒子随温升变为无序状,
内能增大,而徐徐冷却时粒子渐趋有序,在每个温度都达到平衡态,最后在常温时达到基态,内能减为最小。根据Metropolis
准则,粒子在温度T时趋于平衡的概率为e-ΔE/(kT),其中E为温度T时的内能,ΔE为其改变量,k为Boltzmann常数。用固体退
...
tsp.m
%function out = tsp(loc)
% TSP Traveling salesman problem (TSP) using SA (simulated annealing).
% TSP by itself will generate 20 cities within a unit cube and
% then use SA to slove this problem.
tsp.m
function out = tsp(loc)
% TSP Traveling salesman problem (TSP) using SA (simulated annealing).
% TSP by itself will generate 20 cities within a unit cube and
% then use SA to slove this problem.