|
#include "CPiezas.h"
#include <vector>
#include "CNodo.h"
#include "Definiciones.h"
#include "CSolPuntos.h"
using namespace std;
class CSolutionMan
{
public:
vector<vecnodos>* soluciones;
//Para acceder a las piezas por ID
tmappiezas* mappiezas;
CPiezas* piezas;
CSolPuntos solrot, solinv, solrotinv;
vector<CSolPuntos> vsolspuntos;
BOOL EsIgual(CSolPuntos& sol1, CSolPuntos& sol2);
//Crea un array rotado, acordarse de eliminarlo una vez utilizado;
BOOL PuedeSerRotado(vecnodos& arr);
BOOL PuedeSerInvertido(vecnodos& arr);
void CreateSolsPuntos();
void MarcarPtosSol(CNodo* nodo, CSolPuntos& solptos);
void LimpiarDuplicados();
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
System developer from Argentina.
Programmed in VB 5,6,.NET, C#, Java, PL-SQL, Transac-SQL, C, C++ and even some "calculator" language.
Love to build small, useful applications.
Usually building big and complicated apps based on solid, reliable components.
Hobbies: reading, photography, chess, paddle, running.