Skip to content
Snippets Groups Projects
Commit a8a5c666 authored by dmt's avatar dmt
Browse files

Extend DeconstructionSettings with further params.

parent b8e90b8f
No related branches found
No related tags found
No related merge requests found
......@@ -112,10 +112,12 @@ class ReconstructionSettings:
class DeconstructionSettings:
deconst_strategy: str = DeconstStrategy()
deconst_mode: str = DeconstMode()
deconst_max_distance_T: int = DeconstMaxDistanceT()
deconst_max_distance_t: int = DeconstMaxDistanceT()
deconst_full_tolerance: float = DeconstFullTolerance()
force_time_expansion: bool = ForceTimeExpansion()
allow_weak_reliability: bool = AllowWeakReliability()
learn_block_minimum: int = LearnblockMinimum
min_reliability: float = MinReliability()
def specific_settings_factory(settings_type: str):
......@@ -159,7 +161,9 @@ def specific_settings_factory(settings_type: str):
Settings.DECONST_MAX_DISTANCE_T,
Settings.DECONST_FULL_TOLERANCE,
Settings.FORCE_TIME_EXPANSION,
Settings.ALLOW_WEAK_RELIABILITY)])
Settings.ALLOW_WEAK_RELIABILITY,
Settings.LEARN_BLOCK_MINIMUM,
Settings.MIN_RELIABILITY)])
}
return next(factory[settings_type])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment