#include "assembler_1.h"
#include "bt_assert.h"
#include "problem.h"
#include "voxel.h"
#include "assembly.h"
#include "gridtype.h"
#include "../tools/xml.h"
#include <cstdlib>
Defines | |
#define | ASSEMBLER_VERSION "2.0" |
Functions | |
void | printMatrix (const std::vector< unsigned int > &up, const std::vector< unsigned int > &down, const std::vector< unsigned int > &left, const std::vector< unsigned int > &right, const std::vector< unsigned int > &colCount, const std::vector< unsigned int > &weight, const std::vector< unsigned int > &min, const std::vector< unsigned int > &max) |
static voxel_c * | addToCache (voxel_c *cache[], unsigned int *fill, voxel_c *piece) |
static bool | betterParams (int n_sum, int, int n_max, int o_sum, int, int o_max) |
static unsigned int | getInt (const char *s, unsigned int *i) |
static int | stringToVector (const char *string, std::vector< unsigned int > &v) |
static void | vectorToStream (const std::vector< unsigned int > &v, std::ostream &str) |
#define ASSEMBLER_VERSION "2.0" |
static bool betterParams | ( | int | n_sum, | |
int | , | |||
int | n_max, | |||
int | o_sum, | |||
int | , | |||
int | o_max | |||
) | [static] |
Referenced by assembler_1_c::find_best_unclosed_column().
static unsigned int getInt | ( | const char * | s, | |
unsigned int * | i | |||
) | [static] |
void printMatrix | ( | const std::vector< unsigned int > & | up, | |
const std::vector< unsigned int > & | down, | |||
const std::vector< unsigned int > & | left, | |||
const std::vector< unsigned int > & | right, | |||
const std::vector< unsigned int > & | colCount, | |||
const std::vector< unsigned int > & | weight, | |||
const std::vector< unsigned int > & | min, | |||
const std::vector< unsigned int > & | max | |||
) |
static int stringToVector | ( | const char * | string, | |
std::vector< unsigned int > & | v | |||
) | [static] |
static void vectorToStream | ( | const std::vector< unsigned int > & | v, | |
std::ostream & | str | |||
) | [static] |
Referenced by assembler_1_c::save().