Struct competitive_library::graph::lowest_common_ancestor_rmq::LowestCommonAncestor[][src]

pub struct LowestCommonAncestor { /* fields omitted */ }
Expand description

LCA

Implementations

Arguments

  • e - 根付き木の辺集合。隣接リスト
  • root - 根付き木の根

対象の2頂点のLCAを取得する

Arguments

  • u - 頂点番号
  • v - 頂点番号

Returns

LCA

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.