red_black_tree

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedBlackTree

type RedBlackTree struct {
	FromHighToLow bool // true表示从高到低排序,默认 false 表示从低到高排序
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/9 02:20
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 红黑树排序 *

func (*RedBlackTree) GetAttribute

func (m *RedBlackTree) GetAttribute() *C.Attribute

func (*RedBlackTree) Method

func (m *RedBlackTree) Method()

func (*RedBlackTree) SortMethod

func (m *RedBlackTree) SortMethod(array []int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL