代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/272513/10954777
cc sparse_mult_col.cc
#include "mtl/matrix.h"
#include "mtl/mtl.h"
//#include "mtl/sparse_mult.h"
#include "mtl/utils.h"
int random(int range) {
return rand() % (range -1) + 1;
}
int
main(int argc, char* argv[])
{
if
www.eeworm.com/read/272513/10954861
cc sparse_mult.cc
#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
int random(int range) {
return rand() % (range -1) + 1;
}
int
main(int argc, char* argv[])
{
if (argc < 2) {
std::cerr
www.eeworm.com/read/271940/10975727
m randexmut.m
%randExMut: random exchange mutation for one chromosome
function newVa=randExMut(Va)
%fprintf('original Va is:\n')
%Va= [ 8 7 4 2 6 5 1 9 3 10 ];
original_Va=Va;
Ranpos=[]
www.eeworm.com/read/271877/10977222
c csort.c
/************************************************************************
名称: csort.c
一个动画程序来显示6个排序算法的动作。
运行这个程序要求包含
www.eeworm.com/read/417148/11002276
pas gadelphi.pas
unit GADelphi;
interface
uses
Math, SysUtils;
type
PUnsigned = array of Cardinal;
Pint = ^integer;
individual = record
chrom: PUnsigned;
fitness: double;
varible: d
www.eeworm.com/read/270993/11013514
makefile
HDRS = const.h type.h extern.h exfunc.h
OBJS = super_xover.o eval.o gen.o init.o main.o rep.o \
stats.o random.o select.o utils.o halve.o scale.o
CFLAGS = -O1
CLIBS = -lm
ga : $(OBJS)
cc -o
www.eeworm.com/read/470209/6914855
c 138.c
#include
#include
#include
#include
#include
void main()
{
void * ptr;
int gd=9,gm=2;
float i;
/*registerbgidriver(EGAVGA_driver);*/
www.eeworm.com/read/264453/6960026
rand
// crt_rand.c
/* This program seeds the random-number generator
* with the time, then displays 10 random integers.
*/
#include
#include
#include
int main( vo