Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeapByMaxValue ¶
func (HeapByMaxValue) Len ¶
func (s HeapByMaxValue) Len() int
func (HeapByMaxValue) Less ¶
func (s HeapByMaxValue) Less(i, j int) bool
func (*HeapByMaxValue) Pop ¶
func (s *HeapByMaxValue) Pop() interface{}
func (*HeapByMaxValue) Push ¶
func (s *HeapByMaxValue) Push(x interface{})
func (HeapByMaxValue) Swap ¶
func (s HeapByMaxValue) Swap(i, j int)
type HeapByMinValue ¶
func (HeapByMinValue) Len ¶
func (s HeapByMinValue) Len() int
func (HeapByMinValue) Less ¶
func (s HeapByMinValue) Less(i, j int) bool
func (*HeapByMinValue) Pop ¶
func (s *HeapByMinValue) Pop() interface{}
func (*HeapByMinValue) Push ¶
func (s *HeapByMinValue) Push(x interface{})
func (HeapByMinValue) Swap ¶
func (s HeapByMinValue) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.