pub struct CommEdge {
pub id: CommEdgeId,
pub source: PartitionId,
pub dest: PartitionId,
pub weight: u64,
pub last_epoch: u32,
}Expand description
A weighted communication edge between two partitions.
Edges are the weighted links in the coherence graph. Weight represents accumulated message bytes, decayed per epoch. The mincut algorithm identifies the cheapest set of edges to sever for partition splitting.
Fields§
§id: CommEdgeIdUnique identifier for this edge.
source: PartitionIdSource partition.
dest: PartitionIdDestination partition.
weight: u64Edge weight (accumulated message bytes, decayed per epoch).
last_epoch: u32Epoch in which this edge was last updated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommEdge
impl RefUnwindSafe for CommEdge
impl Send for CommEdge
impl Sync for CommEdge
impl Unpin for CommEdge
impl UnsafeUnpin for CommEdge
impl UnwindSafe for CommEdge
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