MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / Len

Method Len

internal/mapper/mapper.path.go:65–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63type priorityQueue []*nodeRecord
64
65func (pq priorityQueue) Len() int { return len(pq) }
66func (pq priorityQueue) Less(i, j int) bool { return pq[i].fScore < pq[j].fScore }
67func (pq priorityQueue) Swap(i, j int) {
68 pq[i], pq[j] = pq[j], pq[i]

Callers 5

TestParserFunction · 0.45
Test_findPath_SimpleFunction · 0.45
Test_findPath_CycleFunction · 0.45
findPathMethod · 0.45
GetMemoryUsageFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestParserFunction · 0.36
Test_findPath_SimpleFunction · 0.36
Test_findPath_CycleFunction · 0.36