Auto-tiling algorithm defaults. More...
Functions | |
| constexpr bool | isNumericMetaType (int typeId) |
| Returns true if typeId is a numeric QMetaType (Double, Float, Int, UInt, LongLong, ULongLong). | |
Variables | |
| constexpr qreal | DefaultSplitRatio = 0.5 |
| 50/50 split when nothing else specified | |
| constexpr int | DefaultMasterCount = 1 |
| Single master window. | |
| constexpr int | DefaultMaxWindows = 5 |
| Maximum tiled windows before overflow. | |
| constexpr QLatin1String | DefaultAlgorithmId {"bsp"} |
| Default tiling algorithm. | |
| constexpr qreal | DefaultSplitRatioStep = 0.05 |
| constexpr qreal | MinSplitRatioStep = 0.01 |
| constexpr qreal | MaxSplitRatioStep = 0.25 |
| constexpr qreal | MinSplitRatio = 0.1 |
| constexpr qreal | MaxSplitRatio = 0.9 |
| constexpr int | MinMasterCount = 1 |
| constexpr int | MaxMasterCount = 5 |
| constexpr int | DefaultInnerGap = 8 |
| constexpr int | DefaultOuterGap = 8 |
| constexpr int | MinGap = 0 |
| constexpr int | MaxGap = 50 |
| constexpr int | MinRectSizePx = 50 |
| constexpr int | GapEdgeThresholdPx = 5 |
| constexpr int | MinMaxWindows = 1 |
| constexpr int | MaxMaxWindows = 12 |
| constexpr int | UnlimitedMaxWindowsSentinel = std::numeric_limits<int>::max() / 2 |
| constexpr int | MaxZones = 256 |
| constexpr int | MaxRuntimeTreeDepth = 50 |
| Maximum recursion depth for split tree operations. | |
| constexpr int | MaxTreeNodesForJs = MaxZones * 2 |
| Cap on total node count when converting a SplitTree to a QJSValue object. | |
| constexpr qreal | SplitRatioHysteresis = 0.05 |
| Band within which algorithm-switch ratio reset is suppressed. | |
| constexpr int | MinMetadataWindows = 1 |
| constexpr int | MaxMetadataWindows = 100 |
| constexpr int | MinInsertPosition = 0 |
| constexpr int | MaxInsertPosition = 2 |
| constexpr int | ScriptWatchdogTimeoutMs = 100 |
| Watchdog deadline for a single JS evaluation guarded by ScriptedAlgorithm::guardedCall(). | |
Auto-tiling algorithm defaults.
Min/max constraints used by the tiling algorithms themselves. These are algorithm-layer concerns — independent of any user-facing default values the application config layer may surface.
|
constexpr |
Returns true if typeId is a numeric QMetaType (Double, Float, Int, UInt, LongLong, ULongLong).
Used for fuzzy-comparing QVariant values after JSON round-trip type drift.
|
inlineconstexpr |
Default tiling algorithm.
|
constexpr |
|
constexpr |
Single master window.
|
constexpr |
Maximum tiled windows before overflow.
|
constexpr |
|
constexpr |
50/50 split when nothing else specified
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Maximum recursion depth for split tree operations.
|
constexpr |
|
constexpr |
|
constexpr |
Cap on total node count when converting a SplitTree to a QJSValue object.
Each tiled window occupies one leaf plus at most one internal node, so MaxZones*2 is a safe ceiling that lets the widest valid tree through without truncation.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Watchdog deadline for a single JS evaluation guarded by ScriptedAlgorithm::guardedCall().
Generous enough for ARM / slow systems where JS startup and first-call JIT warmup can take tens of milliseconds. Exposed here so operators tuning for their target hardware don't need to recompile the scriptedalgorithm TU.
|
constexpr |
Band within which algorithm-switch ratio reset is suppressed.
|
constexpr |