package algo // Author: Weisen Pan // Date: 2023-10-24 // SchedulingQueueSort is an interface for sorting pods in a scheduling queue. type SchedulingQueueSort interface { // Len returns the number of pods in the scheduling queue. Len() int // Swap swaps the positions of two pods in the scheduling queue. Swap(i, j int) // Less returns true if the pod at index i should be scheduled before the pod at index j. Less(i, j int) bool }