Weight

Type Alias Weight 

Source
pub type Weight = f64;
Expand description

The weight type used in the MeritRank graph.

Trait Implementations§

Source§

impl From<NodeId> for Weight

Source§

fn from(id: NodeId) -> Self

Converts the NodeId into a Weight.