pub struct GetBiadjacencyWeightedResult {
pub matrix: Vec<Vec<f64>>,
pub row_ids: Vec<VertexId>,
pub col_ids: Vec<VertexId>,
}Expand description
Result of get_biadjacency_weighted.
Fields§
§matrix: Vec<Vec<f64>>Row-major n1 × n2 weighted biadjacency matrix.
matrix[i][j] is the sum of weights of edges between
row-vertex i and column-vertex j.
row_ids: Vec<VertexId>Vertex IDs corresponding to rows (partition with types[v] == false).
col_ids: Vec<VertexId>Vertex IDs corresponding to columns (partition with types[v] == true).
Trait Implementations§
Source§impl Clone for GetBiadjacencyWeightedResult
impl Clone for GetBiadjacencyWeightedResult
Source§fn clone(&self) -> GetBiadjacencyWeightedResult
fn clone(&self) -> GetBiadjacencyWeightedResult
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 moreAuto Trait Implementations§
impl Freeze for GetBiadjacencyWeightedResult
impl RefUnwindSafe for GetBiadjacencyWeightedResult
impl Send for GetBiadjacencyWeightedResult
impl Sync for GetBiadjacencyWeightedResult
impl Unpin for GetBiadjacencyWeightedResult
impl UnsafeUnpin for GetBiadjacencyWeightedResult
impl UnwindSafe for GetBiadjacencyWeightedResult
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