problemreductions/rules/unitdiskmapping/ksg/
mod.rs1pub mod gadgets;
21pub mod gadgets_weighted;
22pub mod mapping;
23
24pub use gadgets::{
26 apply_crossing_gadgets, apply_simplifier_gadgets, crossing_ruleset_indices,
27 tape_entry_mis_overhead, KsgBranch, KsgBranchFix, KsgBranchFixB, KsgCross, KsgDanglingLeg,
28 KsgEndTurn, KsgPattern, KsgPatternBoxed, KsgReflectedGadget, KsgRotatedGadget, KsgTCon,
29 KsgTapeEntry, KsgTrivialTurn, KsgTurn, KsgWTurn, Mirror,
30};
31
32pub use gadgets_weighted::{
33 apply_weighted_crossing_gadgets, apply_weighted_simplifier_gadgets,
34 weighted_tape_entry_mis_overhead, WeightedKsgBranch, WeightedKsgBranchFix,
35 WeightedKsgBranchFixB, WeightedKsgCross, WeightedKsgDanglingLeg, WeightedKsgEndTurn,
36 WeightedKsgPattern, WeightedKsgTCon, WeightedKsgTapeEntry, WeightedKsgTrivialTurn,
37 WeightedKsgTurn, WeightedKsgWTurn,
38};
39
40pub use mapping::{
41 map_unweighted, map_unweighted_with_method, map_unweighted_with_order, map_weighted,
42 map_weighted_with_method, map_weighted_with_order, GridKind, MappingResult,
43};
44
45pub const SPACING: usize = 4;
47
48pub const PADDING: usize = 2;