Crystalg::DataStructures::LinkCutTree(T)
Inherits Reference < Object
EXPERIMENTAL
Constants
INF = Int32::MAX
Constructors
new(size)
SourceInstance methods
add(from : NodeID, to : NodeID, v : Int32)
Sourceadd(id : NodeID, val : Int32)
Sourceconnected?(x : NodeID, y : NodeID)
Sourcecut(id : NodeID) : Nil
Sourceevert(par : NodeID) : Nil
Sourcefind_root(id : NodeID) : NodeID
Sourcelca(ch : NodeID, par : NodeID) : NodeID | Nil
Sourcelink(ch : NodeID, par : NodeID) : Nil
Sourcemin(from : NodeID, to : NodeID) : Int32
Sourcemin_id(id : NodeID) : Int32
Sourceroot?(id : NodeID)
Source