pub struct RankOptions {
pub by: RankAlgorithm,
pub via: Option<String>,
pub directed: bool,
pub write_property: Option<String>,
pub pagerank: Option<PageRankOptions>,
pub clustering_normalization: Option<ClusteringNormalization>,
}Expand description
Options for GraphForge::rank.
Fields§
§by: RankAlgorithmAlgorithm name (e.g. "pagerank").
via: Option<String>Optional relationship type filter.
directed: boolWhether to treat edges as directed.
write_property: Option<String>Optional property name to write scores back to nodes.
pagerank: Option<PageRankOptions>PageRank configuration; valid only for by=pagerank.
clustering_normalization: Option<ClusteringNormalization>LCC definition; valid only for by=clustering_coefficient.
Trait Implementations§
Source§impl Clone for RankOptions
impl Clone for RankOptions
Source§impl Debug for RankOptions
impl Debug for RankOptions
Auto Trait Implementations§
impl Freeze for RankOptions
impl RefUnwindSafe for RankOptions
impl Send for RankOptions
impl Sync for RankOptions
impl Unpin for RankOptions
impl UnsafeUnpin for RankOptions
impl UnwindSafe for RankOptions
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