代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/389293/8535511
java raggedarray.java
//: arrays/RaggedArray.java
import java.util.*;
public class RaggedArray {
public static void main(String[] args) {
Random rand = new Random(47);
// 3-D array with varied-length vecto
www.eeworm.com/read/389255/8539078
cpp ga.cpp
// GA.cpp: implementation of the CGA class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include
#include
#include "MyGA.h"
www.eeworm.com/read/289579/8541596
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
www.eeworm.com/read/188405/8542964
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 i
www.eeworm.com/read/188138/8568650
~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/188138/8568662
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/289086/8577170
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 i
www.eeworm.com/read/388715/8581370
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/288910/8594744
c alg36.c
#include
#include
#include
int main()
{
vector< int, allocator > vec;
for ( int ix = 0; ix < 20; ix++ )
vec.push_back( ix );
random_shuffle(
www.eeworm.com/read/288747/8609672
cs image2.aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using