ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::geometry::SolidifierOptions Struct Reference

#include <Solidifier.hpp>

Public Attributes

double time_limit_seconds = 120.0
 Wall-clock time limit for the MIP solve, in seconds.
double alpha = 0.04
 Weight on the wall/complexity term of the objective (was hardcoded).
double mip_gap = -1.0
 Relative MIP gap tolerance. Negative => use the solver default.
bool sectioned = true
 Solve the MIP per horizontal section (storey) instead of monolithically, when the arrangement has more than one section and enough cells (issue #226).
size_t sectioned_threshold = 2000
 Only take the sectioned path when the monolithic problem would have at least this many cells.
SolverChoice solver = SolverChoice::automatic
 Solver backend selection + fallback policy (issue #226).

Detailed Description

Definition at line 54 of file Solidifier.hpp.

Member Data Documentation

◆ alpha

double reusex::geometry::SolidifierOptions::alpha = 0.04

Weight on the wall/complexity term of the objective (was hardcoded).

Definition at line 61 of file Solidifier.hpp.

◆ mip_gap

double reusex::geometry::SolidifierOptions::mip_gap = -1.0

Relative MIP gap tolerance. Negative => use the solver default.

Definition at line 64 of file Solidifier.hpp.

◆ sectioned

bool reusex::geometry::SolidifierOptions::sectioned = true

Solve the MIP per horizontal section (storey) instead of monolithically, when the arrangement has more than one section and enough cells (issue #226).

Each section is an independent subproblem (~500 cells on the measured multi-room scan) whose labels are merged into one global solution; shared horizontal faces at section joints are emitted once by toMesh() because they separate an interior cell from an exterior one.

Definition at line 72 of file Solidifier.hpp.

◆ sectioned_threshold

size_t reusex::geometry::SolidifierOptions::sectioned_threshold = 2000

Only take the sectioned path when the monolithic problem would have at least this many cells.

Below it the one-shot solve is fast and the original (well-tested) path is used unchanged (issue #226).

Definition at line 77 of file Solidifier.hpp.

◆ solver

SolverChoice reusex::geometry::SolidifierOptions::solver = SolverChoice::automatic

Solver backend selection + fallback policy (issue #226).

Definition at line 80 of file Solidifier.hpp.

◆ time_limit_seconds

double reusex::geometry::SolidifierOptions::time_limit_seconds = 120.0

Wall-clock time limit for the MIP solve, in seconds.

Guards against the solver hanging indefinitely on complex buildings (issue #212). When solving per section, this limit applies to each section's solve.

Definition at line 58 of file Solidifier.hpp.


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