Documentation
¶
Index ¶
- func DpSequenceArrangements(sequence string, pieces []string) [][]string
- func DpSequenceArrangementsCount(sequence string, pieces []string) int
- func DpSequenceCheck(sequence string, pieces []string) bool
- func FindMazePath(mat matrix.Matrix, start point.Point, end point.Point, wallValue int) (int, [][]point.Point)
- func FloodFill(mat matrix.Matrix, start point.Point) []point.Point
- func LargestClique(graph map[string]set.Set) set.Set
- type Corner
- type CornerType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DpSequenceArrangements ¶
func DpSequenceCheck ¶
dpSequenceCheck uses dynamic programming to check if the passed `sequence` can be constructed with the `pieces` passed.
func FindMazePath ¶
Types ¶
type Corner ¶
type Corner struct { point.Point CornerType CornerType }
type CornerType ¶
type CornerType int
const ( ConvexTL CornerType = iota ConvexTR ConvexBL ConvexBR ConcaveTL ConcaveTR ConcaveBL ConcaveBR )
Click to show internal directories.
Click to hide internal directories.