lis

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LIS_Backtrack

type LIS_Backtrack struct {
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/10 00:10
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 最长递增子序列 - 分枝限界法 *

func (*LIS_Backtrack) GetAttribute

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

func (*LIS_Backtrack) LISMethod

func (m *LIS_Backtrack) LISMethod(str string) int

type LIS_Bisection

type LIS_Bisection struct {
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/10 00:09
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 最长递增子序列 - 二分法 *

func (*LIS_Bisection) GetAttribute

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

func (*LIS_Bisection) LISMethod

func (m *LIS_Bisection) LISMethod(str string) int

type LIS_Dynamic

type LIS_Dynamic struct {
	// contains filtered or unexported fields
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/10 00:07
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 最长递增子序列 - 动态规划 *

func (*LIS_Dynamic) GetAttribute

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

func (*LIS_Dynamic) LISMethod

func (m *LIS_Dynamic) LISMethod(str string) int

grammar:字符串转数组,string转array : 1、arr := str[0:] 2、arr := []rune(str) // 这一种是 Unicode 字符,需要配合 arr[j]-'0' 才可以得到原来的数字

func (*LIS_Dynamic) LISStrMethod

func (m *LIS_Dynamic) LISStrMethod(str string) string

type LIS_LCS

type LIS_LCS struct {
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/10 00:07
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 最长递增子序列 - LCS *

func (*LIS_LCS) GetAttribute

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

func (*LIS_LCS) LISMethod

func (m *LIS_LCS) LISMethod(str string) int

type LIS_Poker

type LIS_Poker struct {
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/10 00:08
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 最长递增子序列 - 扑克法 *

func (*LIS_Poker) GetAttribute

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

func (*LIS_Poker) LISMethod

func (m *LIS_Poker) LISMethod(str string) int

type LIS_TwoPoint

type LIS_TwoPoint struct {
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/10 00:04
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 最长递增子序列 - 双指针 *

func (*LIS_TwoPoint) GetAttribute

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

func (*LIS_TwoPoint) LISMethod

func (m *LIS_TwoPoint) LISMethod(str string) int

type LIS_Violence

type LIS_Violence struct {
}

*

  • @author ljfirst
  • @version V1.0
  • @date 2023/7/10 00:08
  • @author-Email ljfirst@mail.ustc.edu.cn
  • @blogURL https://blog.csdn.net/ljfirst
  • @description 最长递增子序列 - 暴力法 *

func (*LIS_Violence) GetAttribute

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

func (*LIS_Violence) LISMethod

func (m *LIS_Violence) LISMethod(str string) int

Jump to

Keyboard shortcuts

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