pub struct GlobalRoutingTree {
pub worst_wirelength: i32,
/* private fields */
}Expand description
A rectilinear Steiner routing tree.
Fields§
§worst_wirelength: i32Implementations§
Source§impl GlobalRoutingTree
impl GlobalRoutingTree
pub fn new(source_position: Point<i32, i32>) -> Self
pub fn get_source(&self) -> &RoutingNode
pub fn get_source_mut(&mut self) -> &mut RoutingNode
pub fn insert_steiner_node( &mut self, point: Point<i32, i32>, parent_id: Option<&str>, ) -> String
pub fn insert_terminal_node( &mut self, point: Point<i32, i32>, parent_id: Option<&str>, ) -> String
pub fn insert_terminal_with_steiner( &mut self, point: Point<i32, i32>, keepouts: Option<Vec<Interval<i32>>>, )
pub fn insert_terminal_with_constraints( &mut self, point: Point<i32, i32>, allowed_wirelength: i32, keepouts: Option<Vec<Interval<i32>>>, )
pub fn calculate_total_wirelength(&self) -> i32
pub fn calculate_worst_wirelength(&self) -> i32
pub fn find_path_to_source(&self, node_id: &str) -> Vec<&RoutingNode>
pub fn get_all_terminals(&self) -> Vec<&RoutingNode>
pub fn get_all_steiner_nodes(&self) -> Vec<&RoutingNode>
pub fn get_tree_structure(&self) -> String
pub fn visualize_tree(&self)
pub fn optimize_steiner_points(&mut self)
Auto Trait Implementations§
impl Freeze for GlobalRoutingTree
impl RefUnwindSafe for GlobalRoutingTree
impl Send for GlobalRoutingTree
impl Sync for GlobalRoutingTree
impl Unpin for GlobalRoutingTree
impl UnsafeUnpin for GlobalRoutingTree
impl UnwindSafe for GlobalRoutingTree
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