TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::place::LegaliseStats Struct Reference

#include <place/legalize.hpp>

Public Attributes

int placed = 0
 parts that were (re)placed
int kept = 0
 parts already legal and left untouched (only_illegal mode)
int failed = 0
 parts with no legal position found (left at their original position)
double max_disp_mm = 0
double mean_disp_mm = 0
long exact_checks = 0
long raster_checks = 0
long evictions = 0
long lookahead_rejects = 0
 spots refused because they left no room for a waiting big part // rip-up-and-re-place steps (full mode)
long raster_disagree = 0
 raster said free but the exact test failed (must stay 0: the raster is conservative)
std::vector< std::string > failures
std::vector< int > failed_parts

Detailed Description

Definition at line 12 of file legalize.hpp.

Member Data Documentation

◆ evictions

long tmk::place::LegaliseStats::evictions = 0

Definition at line 18 of file legalize.hpp.

◆ exact_checks

long tmk::place::LegaliseStats::exact_checks = 0

Definition at line 17 of file legalize.hpp.

◆ failed

int tmk::place::LegaliseStats::failed = 0

parts with no legal position found (left at their original position)

Definition at line 15 of file legalize.hpp.

◆ failed_parts

std::vector<int> tmk::place::LegaliseStats::failed_parts

Definition at line 22 of file legalize.hpp.

◆ failures

std::vector<std::string> tmk::place::LegaliseStats::failures

Definition at line 21 of file legalize.hpp.

◆ kept

int tmk::place::LegaliseStats::kept = 0

parts already legal and left untouched (only_illegal mode)

Definition at line 14 of file legalize.hpp.

◆ lookahead_rejects

long tmk::place::LegaliseStats::lookahead_rejects = 0

spots refused because they left no room for a waiting big part // rip-up-and-re-place steps (full mode)

Definition at line 19 of file legalize.hpp.

◆ max_disp_mm

double tmk::place::LegaliseStats::max_disp_mm = 0

Definition at line 16 of file legalize.hpp.

◆ mean_disp_mm

double tmk::place::LegaliseStats::mean_disp_mm = 0

Definition at line 16 of file legalize.hpp.

◆ placed

int tmk::place::LegaliseStats::placed = 0

parts that were (re)placed

Definition at line 13 of file legalize.hpp.

◆ raster_checks

long tmk::place::LegaliseStats::raster_checks = 0

Definition at line 17 of file legalize.hpp.

◆ raster_disagree

long tmk::place::LegaliseStats::raster_disagree = 0

raster said free but the exact test failed (must stay 0: the raster is conservative)

Definition at line 20 of file legalize.hpp.


The documentation for this struct was generated from the following file: