DaciaClub Logo

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topicStart Poll

Outline · [ Standard ] · Linear+

> Simulare de variabile aleatorii

GeorgeB
post 19 May 2004, 17:07
Post #1


the 7 stars of Pleiades constellation


Group: Members
Posts: 1.870
Joined: 7 January 03
From: Bucuresti




Caut un asemenea proiect, cu program aferent cu tot . Am nevoie de el pana maine dupa amiaza. este super urgent. daca aveti asa ceva facut va rog sa-mi dati de stire ASAP!


--------------------
SUBARU Legacy 2.5 - ---
L7 2.5 all in black - edition -
User is offlineGalerie FotoPM
Go to the top of the page
+
viulian
post 20 May 2004, 20:10
Post #2


Que ?


Group: Members
Posts: 356
Joined: 22 March 04
From: Bucuresti




Man, da si tu mai multe detalii.. Caci simularea variabilelor aleatorii se face in mai multe feluri, cu diferiti algoritmi. Mai stii ceva de proiect ? In ce limbaj ai nevoie ?

Chestia asta e teoretica - cum sa generezi variabile aleatorii (caci oricat de performat e un computer - variabilele sunt pseudoaleatorii - caci se pleaca de la un seed si se genereaza apoi dupa algoritm). Si seedul daca il generezi aleator, tot pleci de la un alt seed.

Ce vreau sa spun e ca f. probabil sa fie pe net proiecte gata facute fiind o chestie teoretica. Zi cat mai multe detalii de el, inclusiv limbajul de programare.. si vedem ce gasim.


--------------------
Dacia 1310S - CT-26-VID
User is offlineGalerie FotoPM
Go to the top of the page
+
GeorgeB
post 20 May 2004, 20:44
Post #3


the 7 stars of Pleiades constellation


Group: Members
Posts: 1.870
Joined: 7 January 03
From: Bucuresti




este vorba de generare de variabile neuniforme folosind 1 din urmatoarele metode:
metoda inversa;
metoda compunerii sau amestecarii
metoda respingerii

programul poate sa fie in pascal, c , c++ .


--------------------
SUBARU Legacy 2.5 - ---
L7 2.5 all in black - edition -
User is offlineGalerie FotoPM
Go to the top of the page
+
GeorgeB
post 20 May 2004, 20:45
Post #4


the 7 stars of Pleiades constellation


Group: Members
Posts: 1.870
Joined: 7 January 03
From: Bucuresti




mai multe nu stiu ce sa spun pot sa postez algoritmii aici , dar sunt teoretici nu practici. zice de ex se genereaza o variabila Y care are functia de repartitie H[y] pai cine stie ce inseamna asta in limbaj de programare .


--------------------
SUBARU Legacy 2.5 - ---
L7 2.5 all in black - edition -
User is offlineGalerie FotoPM
Go to the top of the page
+
paulp
post 20 May 2004, 21:01
Post #5


Bagator de seama!


Group: Members
Posts: 3.098
Joined: 31 July 03
From: Iasi




Zi mai bine ca vrei sa ghicesti numerele la Loto si-ti trebe un program sa ti le dea moka :twisted:

Cam atit am priceput din toata pasareasca asta cu variabile, algoritmi si alte dihanii miscatoare pe ecran :inger:


--------------------
Fiat Linea Active, 2011 - PAD
User is offlineGalerie FotoPM
Go to the top of the page
+
GeorgeB
post 20 May 2004, 21:07
Post #6


the 7 stars of Pleiades constellation


Group: Members
Posts: 1.870
Joined: 7 January 03
From: Bucuresti




nu mah fara misto . am nevoie de un asemenea program si nu stiu cum draq se face ca e doar teorie. nu am vazut nici un program practic sad.gif hai veniti si voi cu ceva constructiv.


--------------------
SUBARU Legacy 2.5 - ---
L7 2.5 all in black - edition -
User is offlineGalerie FotoPM
Go to the top of the page
+
paulp
post 20 May 2004, 21:11
Post #7


Bagator de seama!


Group: Members
Posts: 3.098
Joined: 31 July 03
From: Iasi




George, te-as ajuta cu mare placere, dar limba imi e straina (n-am mai auzit de analiza matematica din liceu).
Dar, intreb si io ca profanu, nu exista un forum al matematicienilor?
Banuiesc ca ei sint pasionati de numere si alte combinari de 49 luate cite 6 :wink:


--------------------
Fiat Linea Active, 2011 - PAD
User is offlineGalerie FotoPM
Go to the top of the page
+
viulian
post 20 May 2004, 23:58
Post #8


Que ?


Group: Members
Posts: 356
Joined: 22 March 04
From: Bucuresti




Uite ce am gasit:

O chestie faina - si exact ce ai tu nevoie - scrisa insa in java.

http://www.particle.kth.se/~lindsey/JavaCo...7/genDists.html

Te poate ajuta insa, caci pana la urma matematica in sine e usor de convertit intre java si C++ (sper ca le stii pe amandoua cat de cat). Pur si simplu faci copy paste la partea de calcul, si ajustezi putin declaratiile variabilelor.

Si am mai gasit:

http://www.agner.org/random/

....

Non-uniform random number generators in C++

Description: C++ class library generating random numbers with the following distributions: normal, bernoulli, poisson, binomial, hypergeometric, Wallenius' and Fisher's noncentral hypergeometric, multinomial, multivariate hypergeometric, and multivariate Fisher's and Wallenius' noncentral hypergeometric distributions. A function for shuffling numbers is also included, as well as C++ examples showing how to use these functions.
Most of the functions are fast and accurate, even for extreme values of the parameters.
You have the choice of using any of the uniform random number generators listed above (C++ or assembly) as base for these non-uniform random number generators.

Si e si un link acolo.

Pare destul de complicat - trebuie sa alegi despre ce e vorba.

Sper sa te descurci cu prima, sau daca ai rabdare sa cauti pe google, iti recomand pentru inceput criteriile:

Generating Non-Uniform Distributions
"Transformation Method" random generate pascal source code
"Rejection Method" random cpp code

...


--------------------
Dacia 1310S - CT-26-VID
User is offlineGalerie FotoPM
Go to the top of the page
+
Al Cap0nE
post 21 May 2004, 04:12
Post #9


Lex talionis


Group: Members
Posts: 407
Joined: 19 February 04
From: Bucuresti




:shock: ce destepti e baietii astia domle ! bravos natiune


--------------------
Dacia 1310 84 - KPN
User is offlineGalerie FotoPM
Go to the top of the page
+
Reply to this topicTopic OptionsStart new topic


1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
 

Lo-Fi Version  Harta site  Parteneri  Jocuri online  Curs Valutar  HRH Haine din lana merinos Time is now: 23rd July 2025 - 10:39
Forum Renault