#include "problem.h"
#include "bt_assert.h"
#include "voxel.h"
#include "assembly.h"
#include "disassembly.h"
#include "puzzle.h"
#include "solution.h"
#include "../tools/xml.h"
#include <algorithm>
#include <stdio.h>
Classes | |
class | group_c |
internal class of problem storing the grouping information of a shape More... | |
class | part_c |
internal class of problem storing the information attatched to a piece in a problem More... | |
Functions | |
static bool | comp_0_assembly (const solution_c *s1, const solution_c *s2) |
static bool | comp_1_level (solution_c *s1, solution_c *s2) |
static bool | comp_2_moves (solution_c *s1, solution_c *s2) |
static bool | comp_3_pieces (const solution_c *s1, const solution_c *s2) |
static bool comp_0_assembly | ( | const solution_c * | s1, | |
const solution_c * | s2 | |||
) | [static] |
static bool comp_1_level | ( | solution_c * | s1, | |
solution_c * | s2 | |||
) | [static] |
References disassembly_c::compare(), and solution_c::getDisassemblyInfo().
Referenced by problem_c::sortSolutions().
static bool comp_2_moves | ( | solution_c * | s1, | |
solution_c * | s2 | |||
) | [static] |
References solution_c::getDisassemblyInfo(), and disassembly_c::sumMoves().
Referenced by problem_c::sortSolutions().
static bool comp_3_pieces | ( | const solution_c * | s1, | |
const solution_c * | s2 | |||
) | [static] |
References assembly_c::comparePieces(), and solution_c::getAssembly().
Referenced by problem_c::sortSolutions().