Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bom-d-van/binpacking
/ functions
Functions
31 in github.com/bom-d-van/binpacking
⨍
Functions
31
◇
Types & classes
6
↓ 12 callers
Method
GetDepth
unit: mm
binpacking.go:195
↓ 12 callers
Method
GetHeight
()
binpacking.go:193
↓ 12 callers
Method
GetWidth
unit: mm
binpacking.go:194
↓ 3 callers
Method
Dimensions
()
binpacking.go:174
↓ 3 callers
Method
GetWeight
unit: mm
binpacking.go:196
↓ 3 callers
Method
IsValid
()
binpacking.go:78
↓ 3 callers
Function
getBiggerBox
(box Box)
binpacking.go:336
↓ 3 callers
Function
intersect
O------X-------+ | | Y * | | | +--------------+ intersect checks if two rectangles overlap
binpacking.go:155
↓ 3 callers
Method
place
(item Item, pos [3]int)
binpacking.go:300
↓ 3 callers
Method
volume
()
binpacking.go:82
↓ 2 callers
Function
Pack
Original Algorithm: https://github.com/bom-d-van/binpacking/blob/master/erick_dube_507-034.pdf The current implementation is based on it, but with som
binpacking.go:220
↓ 2 callers
Function
printBoxes
(boxes []Box)
binpacking_test.go:84
↓ 1 callers
Method
intersect
+-----------------+ | /| | / | | / | +-----------------+ | | | | | | | |
binpacking.go:140
↓ 1 callers
Method
nonBoxItems
()
binpacking.go:98
↓ 1 callers
Function
pack
(currentBin *Box, toPack []Item, replaceBin bool)
binpacking.go:248
↓ 1 callers
Function
pickBox
(item Item)
binpacking.go:325
Function
BenchmarkPack
(b *testing.B)
binpacking_test.go:10
Method
GetDepth
()
binpacking_test.go:45
Method
GetHeight
()
binpacking_test.go:41
Method
GetWeight
()
binpacking_test.go:49
Method
GetWidth
()
binpacking_test.go:37
Method
Len
()
binpacking.go:201
Method
Less
(i int, j int)
binpacking.go:205
Method
String
()
binpacking.go:38
Method
String
()
binpacking.go:67
Method
String
()
binpacking.go:111
Method
Swap
(i int, j int)
binpacking.go:209
Function
TestPack
(t *testing.T)
binpacking_test.go:53
Method
TotalWeight
()
binpacking.go:86
Method
size
()
binpacking.go:94
Method
volume
()
binpacking.go:120