代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/160641/10511343
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/160583/10516806
py vline_demo.py
#!/usr/bin/env python
from pylab import *
from matplotlib.numerix import sin, exp, multiply, absolute, pi
from matplotlib.numerix.random_array import normal
def f(t):
s1 = sin(2*pi*t)
e1 = ex
www.eeworm.com/read/423769/10533427
m jibenyichuansuanfa.m
/******************************************************************/
/* 基于基本遗传算法的函数最优化 SGA.C */
/* A Function Optimizer using Simple Genetic Algorithm */
/* developed from the Pascal SGA code pr
www.eeworm.com/read/160340/10542359
java lx3_21.java
//lx3_21.java
public class lx3_21{
public static void main(String args[]) {
double r1, r2, max;
r1 = Math.random(); //调用数学类的方法,生成一个随机数
r2 = Math.random();
max
www.eeworm.com/read/160069/10574793
c 遗传算法多点交叉算法.c
/********************************************************************/
/* 多点交叉遗传算法的实现 */
/******************************************************************
www.eeworm.com/read/159920/10588860
c rg_rand.c
/*
** random.c -- "Minimal Standard" integer random number generator
**
** based on "Random Number Generators: Good Ones Are Hard to Find",
** S.K. Park and K.W. Miller, Communications of the A
www.eeworm.com/read/351829/10604896
in mktemp.in
#! @BASH@
if [ x"$1" = x"-d" ]
then
for ((n=0 ; $n/dev/null && break
done
else
user_mask=$(umask)
umask 077
set -o noclobber
for
www.eeworm.com/read/351570/10639625
cpp algo0211.cpp
void CreateList_L(LinkList &L, int n) { // 算法2.11
// 逆位序输入(随机产生)n个元素的值,建立带表头结点的单链线性表L
LinkList p;
int i;
L = (LinkList)malloc(sizeof(LNode));
L->next = NULL; // 先建立一个带头结点