pub struct JobShopPlan {
pub request_id: String,
pub schedule: Vec<ScheduledOp>,
pub makespan: i64,
pub lower_bound: Option<i64>,
pub solver: String,
pub status: String,
pub wall_time_seconds: f64,
}Expand description
Written to ContextKey::Strategies with id prefix "jspbench-plan-<solver>:".
Fields§
§request_id: String§schedule: Vec<ScheduledOp>§makespan: i64§lower_bound: Option<i64>Proven lower bound (available when status is "optimal").
solver: String§status: String"optimal", "feasible", or "error".
wall_time_seconds: f64Trait Implementations§
Source§impl Clone for JobShopPlan
impl Clone for JobShopPlan
Source§fn clone(&self) -> JobShopPlan
fn clone(&self) -> JobShopPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobShopPlan
impl Debug for JobShopPlan
Source§impl<'de> Deserialize<'de> for JobShopPlan
impl<'de> Deserialize<'de> for JobShopPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JobShopPlan
impl RefUnwindSafe for JobShopPlan
impl Send for JobShopPlan
impl Sync for JobShopPlan
impl Unpin for JobShopPlan
impl UnsafeUnpin for JobShopPlan
impl UnwindSafe for JobShopPlan
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