Struct snowcap_bencher::BencherResult[][src]

pub struct BencherResult {
    pub scenario: String,
    pub ideal_cost: f64,
    pub optimal_cost: Option<f64>,
    pub optimal_cost_time: Option<f64>,
    pub num_nodes: usize,
    pub num_edges: usize,
    pub num_commands: usize,
    pub strategy_result: Vec<Run>,
    pub tree_result: Vec<Run>,
    pub random_result: Vec<Run>,
    pub baseline_mif_result: Vec<Run>,
    pub baseline_mil_result: Vec<Run>,
}

Result type that contains the entire output

Fields

scenario: String

String describing the scenario

ideal_cost: f64

Ideal cost of the scenario

optimal_cost: Option<f64>

Optimal cost of the scenario, if computed

optimal_cost_time: Option<f64>

Time for computing the optimal cost (in seconds)

num_nodes: usize

Number of nodes in the network

num_edges: usize

Number of edges in the network

num_commands: usize

Number of commands for the reconfiguration

strategy_result: Vec<Run>

Result of the strategy

tree_result: Vec<Run>

Result of the tree strategy

random_result: Vec<Run>

Result of the random approach

baseline_mif_result: Vec<Run>

Result of the most-important-first baseline approach

baseline_mil_result: Vec<Run>

Result of the most-important-last baseline approach

Trait Implementations

impl Clone for BencherResult[src]

impl Debug for BencherResult[src]

impl Serialize for BencherResult[src]

Auto Trait Implementations

impl RefUnwindSafe for BencherResult[src]

impl Send for BencherResult[src]

impl Sync for BencherResult[src]

impl Unpin for BencherResult[src]

impl UnwindSafe for BencherResult[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]