pub struct HypergraphPageRank {
pub elements: Vec<(ElementId, f64)>,
pub relations: Vec<(RelationId, f64)>,
}Expand description
Personalized hypergraph PageRank output.
Unlike binary Reader::personalized_pagerank, a hypergraph ranks both
participants and the hyperedges themselves: elements are the projection’s
participant vertices and relations are its hyperedges, each paired with its
rank and ordered highest first.
§Performance
Cloning is O(elements + relations).
Fields§
§elements: Vec<(ElementId, f64)>Participant elements paired with rank, highest first.
relations: Vec<(RelationId, f64)>Hyperedges (relations) paired with rank, highest first.
Trait Implementations§
Source§impl Clone for HypergraphPageRank
impl Clone for HypergraphPageRank
Source§fn clone(&self) -> HypergraphPageRank
fn clone(&self) -> HypergraphPageRank
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HypergraphPageRank
impl Debug for HypergraphPageRank
Source§impl Default for HypergraphPageRank
impl Default for HypergraphPageRank
Source§fn default() -> HypergraphPageRank
fn default() -> HypergraphPageRank
Returns the “default value” for a type. Read more
Source§impl PartialEq for HypergraphPageRank
impl PartialEq for HypergraphPageRank
Source§fn eq(&self, other: &HypergraphPageRank) -> bool
fn eq(&self, other: &HypergraphPageRank) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HypergraphPageRank
Auto Trait Implementations§
impl Freeze for HypergraphPageRank
impl RefUnwindSafe for HypergraphPageRank
impl Send for HypergraphPageRank
impl Sync for HypergraphPageRank
impl Unpin for HypergraphPageRank
impl UnsafeUnpin for HypergraphPageRank
impl UnwindSafe for HypergraphPageRank
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