代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/295842/8137502
c csort.c
/************************************************************************
名称: csort.c
一个动画程序来显示6个排序算法的动作。
运行这个程序要求包含
www.eeworm.com/read/195591/8139830
aspx demo-modulo.aspx
void Page_Load()
{
// demo of modulo where every third try displays an encouraging message
Random objRandom = new Random();
www.eeworm.com/read/146276/12661165
cpp gasample.cpp
// gasample.cpp : Defines the entry point for the console application.
//
#include "StdAfx.h"
#include
#include "malloc.h"
#include
#include "stdlib.h"
/* 全局变量 */
struct ind
www.eeworm.com/read/333003/12712263
java cointoss.java
//: operators/CoinToss.java
// TIJ4 Chapter Operators, Exercise 7, page 106
// Write a program that simulates coin-flipping
import java.util.*;
import org.greggordon.tools.*;
public class Co
www.eeworm.com/read/145460/12722969
c sga.c
/********************************************************************/
/* 基于基本遗传算法的函数最优化任意随机交叉父体 SGAM.C */
/* A Function Optimizer using Simple Genetic Algorithm */
/* dev
www.eeworm.com/read/145460/12722988
c sga.c
/********************************************************************/
/* 基于基本遗传算法的函数最优化 SGA.C */
/* A Function Optimizer using Simple Genetic Algorithm */
www.eeworm.com/read/145460/12723012
c sga.c
/**********************************************************************/
/* 基于基本遗传算法的自适应遗传优化算法函数最优化 SGA_AUTO.C */
/* A Function Optimizer using Simple Genetic Algorithm */
/
www.eeworm.com/read/144674/12777018
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/332124/12777138
c 编随机数.c
/*自编随机数*/
#include"sys\types.h"
#include"sys\timeb.h"
#include
#define ALPHA 3.95 /*宏定义ALPHA值为3.95*/
double init_value(void);
double random(void);
void main()
{
float rdn