Functions (<>methods) and Random Generators

Jérémy Barbay 28 Abr 201028/04/10 a las 15:27 hrs.2010-04-28 15:27:28

**** <2010-04-28 Wed 08:30-10:00> ALICE: Functions (<>methods) and Random Generators

1. Muestra de animacion:
+ Random permutation generator (truncated version of sorting algo)
+ ?Game from Alice book with small animals?

2. Theory: Functions and Random Generators
+ Methods
- Recuerdo del Guion (Charla de Constanza)
- Ejemplo de Guion
+ Functions in Alice:
- just another kind of method?
- like asking a question to an object.
+ Random Generator and User Input:
- no two executions are equals
- need for carefull testing

3. Practice:
1. write a random generator of general arrays (with redundant
values?)
- not difficult, not very pedagogical either.
2. (re)write the Random generator of permutations
- a bit harder but more pedagogical
Compartir
Última Modificación 28 Abr 201028/04/10 a las 15:27 hrs.2010-04-28 15:27:28
Vistas Únicas 0