Struct snowcap::example_networks::VariableAbileneNetwork [−][src]
Variable Abilene Network
This network is taken from topology-zoo, and consists of 11 internal routers.
The reconfiguratoin scenario is variable. The type argument controls the number of link weights, that will be doubled during the reconfiguration. The variant flag is used only for determining the policy. The variant is treated the number of flows, for which the condition is:
$$\phi_{old}\ \mathbf{U}\ \phi_{new}$$
Here, $\phi_{old}$ is the path in the initial configuration, and $\phi_{new}$ is the path in the new configuraiton. For all other flows, we require that they are globally reachable.
The variant must be larger than 0 and smaller than 66, and the type argument must be smaller than 14.
Trait Implementations
impl<R: Repetitions> ExampleNetwork for VariableAbileneNetwork<R>
[src]
fn net(initial_variant: usize) -> Network
[src]
Get raw network without configuration
fn initial_config(net: &Network, _variant: usize) -> Config
[src]
fn final_config(net: &Network, _variant: usize) -> Config
[src]
fn get_policy(net: &Network, variant: usize) -> HardPolicy
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for VariableAbileneNetwork<R> where
R: RefUnwindSafe,
[src]
R: RefUnwindSafe,
impl<R> Send for VariableAbileneNetwork<R> where
R: Send,
[src]
R: Send,
impl<R> Sync for VariableAbileneNetwork<R> where
R: Sync,
[src]
R: Sync,
impl<R> Unpin for VariableAbileneNetwork<R> where
R: Unpin,
[src]
R: Unpin,
impl<R> UnwindSafe for VariableAbileneNetwork<R> where
R: UnwindSafe,
[src]
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,