mirror of https://codeberg.org/topola/topola.git
Autorouter: resolved the issues
This commit is contained in:
parent
00cea36f29
commit
e1d80fe2c4
|
|
@ -17,8 +17,6 @@ use super::{
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Represents the current status of the autoroute operation.
|
/// Represents the current status of the autoroute operation.
|
||||||
///
|
|
||||||
/// This enum tracks the different states of the autoroute process.
|
|
||||||
pub enum AutorouteStatus {
|
pub enum AutorouteStatus {
|
||||||
/// The autoroute is currently running and in progress.
|
/// The autoroute is currently running and in progress.
|
||||||
Running,
|
Running,
|
||||||
|
|
@ -28,7 +26,6 @@ pub enum AutorouteStatus {
|
||||||
Finished,
|
Finished,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
impl TryInto<()> for AutorouteStatus {
|
impl TryInto<()> for AutorouteStatus {
|
||||||
type Error = ();
|
type Error = ();
|
||||||
/// Attempts to get the [`Result`] from the [`AutorouteStatus`].
|
/// Attempts to get the [`Result`] from the [`AutorouteStatus`].
|
||||||
|
|
@ -46,10 +43,6 @@ impl TryInto<()> for AutorouteStatus {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Manages the autorouting process across multiple ratlines.
|
/// 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 {
|
pub struct AutorouteExecutionStepper {
|
||||||
/// An iterator over ratlines that tracks which segments still need to be routed.
|
/// An iterator over ratlines that tracks which segments still need to be routed.
|
||||||
ratlines_iter: Box<dyn Iterator<Item = EdgeIndex<usize>>>,
|
ratlines_iter: Box<dyn Iterator<Item = EdgeIndex<usize>>>,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue