pub struct TraceEntry {
pub t: u64,
pub action: String,
pub res: f64,
pub energy: f64,
pub graph_size: usize,
pub condition: String,
}Expand description
A single trace entry for JSONL export.
Fields§
§t: u64Discrete step counter
action: StringAction taken
res: f64Residual after step
energy: f64Field energy after step
graph_size: usizeGraph size |G| = |V| + |E|
condition: StringConditioning
Trait Implementations§
Source§impl Clone for TraceEntry
impl Clone for TraceEntry
Source§impl Debug for TraceEntry
impl Debug for TraceEntry
Source§impl<'de> Deserialize<'de> for TraceEntry
impl<'de> Deserialize<'de> for TraceEntry
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 TraceEntry
impl RefUnwindSafe for TraceEntry
impl Send for TraceEntry
impl Sync for TraceEntry
impl Unpin for TraceEntry
impl UnsafeUnpin for TraceEntry
impl UnwindSafe for TraceEntry
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