Página principal   Lista de namespace   Lista de componentes   Lista de archivos   Miembros de las clases   Archivos de los miembros  

Ordenacion.h

Ir a la documentación de este archivo.
00001 /*****************************
00002  * Practica 4 MP
00003  * Curso 2008-2009
00004  *
00005  * Vicente Lujan Mansilla
00006  * Lorena Margareto Bisquert
00007  *****************************/
00008  
00009 #ifndef _ORDENACION_H
00010 #define _ORDENACION_H
00011 
00012 #include <iostream>
00013 #include <fstream>
00014 #include <vector>
00015 #include "DataGenerator.h"
00016 
00017 using namespace std;
00018 
00019 typedef vector<int> Vector;
00020 
00024 class Ordenacion
00025 {       
00026     public:
00036         void testInsercion1(int ini, int end, int inc, ostream& salida, float porcentaje);
00046         void testInsercion2(int ini, int end, int inc, ostream& salida, float porcentaje);
00047 
00057         void testSeleccion1(int ini, int end, int inc, ostream& salida, float porcentaje);
00067         void testSeleccion2(int ini, int end, int inc, ostream& salida, float porcentaje);
00068 
00069 
00079         void testBurbuja1(int ini, int end, int inc, ostream& salida, float porcentaje);
00089         void testBurbuja2(int ini, int end, int inc, ostream& salida, float porcentaje);
00090 
00091 
00101         void testBurbujaEstudio1(int ini, int end, int inc, ostream& salida1, ostream& salida2,  float porcentaje);
00102 
00113         void testBurbujaEstudio2(int ini, int end, int inc, ostream& salida1, ostream& salida2,  float veces, float porcentaje);
00114                 
00120         void Insercion(vector<VElement> &v);
00121             
00127         void Seleccion(vector<VElement> &v);
00128 
00134         void Burbuja(vector<VElement> &v);
00135 };
00136 
00137 #endif

Generado el Wed May 6 15:27:14 2009 para Practica 4 MP: Ordenacion por doxygen1.2.14 escrito por Dimitri van Heesch, © 1997-2002