pub struct HypercubeNetwork {
pub nodes: Vec<NodeAddress>,
}Expand description
32-node Q_5 hypercube network with dimension-disjoint routing.
Fields§
§nodes: Vec<NodeAddress>Every node address in the hypercube.
Implementations§
Source§impl HypercubeNetwork
impl HypercubeNetwork
Sourcepub fn compute_orthogonal_paths(
_src: NodeAddress,
_dst: NodeAddress,
) -> Vec<Vec<usize>>
pub fn compute_orthogonal_paths( _src: NodeAddress, _dst: NodeAddress, ) -> Vec<Vec<usize>>
Compute 5 orthogonal dimension-disjoint routing paths from src to dst.
Route proof shares from src to dst along orthogonal paths.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HypercubeNetwork
impl RefUnwindSafe for HypercubeNetwork
impl Send for HypercubeNetwork
impl Sync for HypercubeNetwork
impl Unpin for HypercubeNetwork
impl UnsafeUnpin for HypercubeNetwork
impl UnwindSafe for HypercubeNetwork
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