(f func(e []*Edge) []int)
| 95 | } |
| 96 | |
| 97 | func (bag *Bag) SetCustomAlgorithm(f func(e []*Edge) []int) { |
| 98 | bag.customAlgorithm = f |
| 99 | } |
| 100 | |
| 101 | func (bag *Bag) SetCustomWeighing(f func(src, dst []int) float64) { |
| 102 | bag.customWeighing = f |
no outgoing calls
no test coverage detected