Autorouter: resolved the issues

This commit is contained in:
hakki 2024-10-01 19:27:16 +02:00
parent 00cea36f29
commit e1d80fe2c4
1 changed files with 0 additions and 7 deletions

View File

@ -17,8 +17,6 @@ use super::{
};
/// Represents the current status of the autoroute operation.
///
/// This enum tracks the different states of the autoroute process.
pub enum AutorouteStatus {
/// The autoroute is currently running and in progress.
Running,
@ -28,7 +26,6 @@ pub enum AutorouteStatus {
Finished,
}
impl TryInto<()> for AutorouteStatus {
type Error = ();
/// Attempts to get the [`Result`] from the [`AutorouteStatus`].
@ -46,10 +43,6 @@ impl TryInto<()> for AutorouteStatus {
}
/// Manages the autorouting process across multiple ratlines.
///
/// Consist routing logic for each
/// ratline while managing its options as well as
/// the current route state.
pub struct AutorouteExecutionStepper {
/// An iterator over ratlines that tracks which segments still need to be routed.
ratlines_iter: Box<dyn Iterator<Item = EdgeIndex<usize>>>,