Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _EdgeC (0.09 sec)

  1. test/typeparam/graph.go

    func _New[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]](nodes []_Node) *_Graph[_Node, _Edge] {
    	return &_Graph[_Node, _Edge]{nodes: nodes}
    }
    
    // nodePath holds the path to a node during ShortestPath.
    // This should ideally be a type defined inside ShortestPath,
    // but the translator tool doesn't support that.
    type nodePath[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]] struct {
    	node _Node
    	path []_Edge
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top