#include "Globales.h"Go to the source code of this file.
Functions | |
| void | AjustarVentanaPrincipal (int Ancho, int Alto, DWORD Estilo, bool bMenu) |
| void | GenerarSemillaRandom () |
| int | RandomInt (int Min, int Max) |
| double | RandomDouble (double Min, double Max) |
Variables | |
| Var_Globales | g_Variables |
|
||||||||||||||||||||
|
-> bMenu: Indica si la ventana tiene menú o no. Definition at line 31 of file Globales.cpp. References Var_Globales::nAltoCliente, and Var_Globales::nAnchoCliente. |
|
|
Generar semilla aleatoria
Genera una auténtica semilla aleatoria haciendo uso del generador de números Definition at line 51 of file Globales.cpp. Referenced by CAlgoritmoGenetico::Inicializar(), and CSimulador::IniciarSimulacion(). |
|
||||||||||||
|
Valor double aleatorio
Proporciona un valor entero pseudoaleatorio double en el rango [Min, Max[
Definition at line 86 of file Globales.cpp. Referenced by CGenoma::AddEnlace(), CGenoma::AddNeurona(), CGenoma::CGenoma(), CAlgoritmoGenetico::Epoca(), CGenoma::MutarCurvaturaActivacion(), and CGenoma::MutarPesos(). |
|
||||||||||||
|
Entero aleatorio
Proporciona un valor entero pseudoaleatorio entre Min y Max, ambos inclusive.
Definition at line 68 of file Globales.cpp. Referenced by CGenoma::AddEnlace(), CGenoma::AddNeurona(), CAlgoritmoGenetico::Cruce(), CEspecie::GetSuperviviente(), and CAlgoritmoGenetico::TournamentSelection(). |
|
|
Definition at line 15 of file Globales.cpp. Referenced by CJuego::EstablecerHDCs(), CJuego::Finalizar(), CJuego::Presentacion(), and CJuego::Redibujado(). |
1.4.2