pub struct SemanticConfig {
pub size_thresholds: Vec<(usize, String)>,
pub marker_types: Vec<(String, f32)>,
pub max_markers_per_region: usize,
pub marker_scaling_factor: f32,
pub connectivity_type: ConnectivityType,
pub region_analysis: RegionAnalysisConfig,
pub marker_placement: MarkerPlacementConfig,
}Expand description
Configuration for semantic layer generation
Fields§
§size_thresholds: Vec<(usize, String)>Size thresholds for region classification
marker_types: Vec<(String, f32)>Marker types to generate with their weights
max_markers_per_region: usizeMaximum number of markers per region type
marker_scaling_factor: f32Region size scaling factor for marker density (default: 100.0)
connectivity_type: ConnectivityTypeConnectivity analysis type
region_analysis: RegionAnalysisConfigAdvanced region analysis options
marker_placement: MarkerPlacementConfigMarker placement strategy
Implementations§
Source§impl SemanticConfig
impl SemanticConfig
Sourcepub fn cave_system() -> Self
pub fn cave_system() -> Self
Configuration optimized for cave systems (Cellular Automata)
Sourcepub fn room_system() -> Self
pub fn room_system() -> Self
Configuration optimized for structured rooms
Sourcepub fn maze_system() -> Self
pub fn maze_system() -> Self
Configuration optimized for maze systems
Trait Implementations§
Source§impl Clone for SemanticConfig
impl Clone for SemanticConfig
Source§fn clone(&self) -> SemanticConfig
fn clone(&self) -> SemanticConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SemanticConfig
impl Debug for SemanticConfig
Auto Trait Implementations§
impl Freeze for SemanticConfig
impl RefUnwindSafe for SemanticConfig
impl Send for SemanticConfig
impl Sync for SemanticConfig
impl Unpin for SemanticConfig
impl UnwindSafe for SemanticConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more