Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Multigraph ¶
type Multigraph[T any] struct { // contains filtered or unexported fields }
func New ¶
func New[T any](n int) *Multigraph[T]
func (*Multigraph[T]) Add ¶
func (g *Multigraph[T]) Add(v, w int, weight T)
func (*Multigraph[T]) AddBoth ¶
func (g *Multigraph[T]) AddBoth(v, w int, weight T)
func (*Multigraph[T]) Order ¶
func (g *Multigraph[T]) Order() int
Click to show internal directories.
Click to hide internal directories.