layout/topo/placer/
mod.rs1pub const EPSILON: f64 = 0.001;
5
6#[derive(Debug, Clone, Copy)]
9pub enum BlockKind {
10 Box,
11 Connector,
12 Both,
13 None,
14}
15
16impl BlockKind {
17 pub fn is_box(&self) -> bool {
18 match self {
19 BlockKind::None | BlockKind::Connector => false,
20 BlockKind::Both | BlockKind::Box => true,
21 }
22 }
23 pub fn is_connector(&self) -> bool {
24 match self {
25 BlockKind::None | BlockKind::Box => false,
26 BlockKind::Both | BlockKind::Connector => true,
27 }
28 }
29}
30
31mod bk;
32mod edge_fixer;
33mod move_between_rows;
34mod simple;
35mod verifier;
36
37pub mod place;
38pub use place::Placer;