pub struct CourseMetrics {
pub delay: usize,
pub blocking: usize,
pub complexity: usize,
pub centrality: usize,
}Expand description
Metrics for a single course
Fields§
§delay: usizeDelay factor (longest requisite path length in vertices)
blocking: usizeBlocking factor (number of courses blocked)
complexity: usizeStructural complexity (delay + blocking)
centrality: usizeCentrality (sum of path lengths through this course)
Implementations§
Source§impl CourseMetrics
impl CourseMetrics
Trait Implementations§
Source§impl Clone for CourseMetrics
impl Clone for CourseMetrics
Source§fn clone(&self) -> CourseMetrics
fn clone(&self) -> CourseMetrics
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 CourseMetrics
impl Debug for CourseMetrics
Source§impl PartialEq for CourseMetrics
impl PartialEq for CourseMetrics
impl Eq for CourseMetrics
impl StructuralPartialEq for CourseMetrics
Auto Trait Implementations§
impl Freeze for CourseMetrics
impl RefUnwindSafe for CourseMetrics
impl Send for CourseMetrics
impl Sync for CourseMetrics
impl Unpin for CourseMetrics
impl UnwindSafe for CourseMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.