-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathSparseMatrixColorings.jl
More file actions
79 lines (71 loc) · 1.67 KB
/
SparseMatrixColorings.jl
File metadata and controls
79 lines (71 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
"""
SparseMatrixColorings
$README
## Exports
$EXPORTS
"""
module SparseMatrixColorings
using ADTypes: ADTypes
using Base.Iterators: Iterators
using DocStringExtensions: README, EXPORTS, SIGNATURES, TYPEDEF, TYPEDFIELDS
using LinearAlgebra:
Adjoint,
Bidiagonal,
Diagonal,
Hermitian,
LowerTriangular,
Symmetric,
Transpose,
Tridiagonal,
UpperTriangular,
adjoint,
checksquare,
factorize,
issymmetric,
ldiv!,
parent,
transpose
using PrecompileTools: @compile_workload
using Random: Random, AbstractRNG, default_rng, randperm
using SparseArrays:
SparseArrays,
SparseMatrixCSC,
dropzeros,
dropzeros!,
ftranspose!,
nnz,
nonzeros,
nzrange,
rowvals,
sparse,
sprand,
spzeros
include("graph.jl")
include("forest.jl")
include("order.jl")
include("coloring.jl")
include("postprocessing.jl")
include("result.jl")
include("matrices.jl")
include("interface.jl")
include("constant.jl")
include("adtypes.jl")
include("decompression.jl")
include("structured.jl")
include("check.jl")
include("examples.jl")
include("show_colors.jl")
include("optimal.jl")
include("precompile.jl")
export NaturalOrder, RandomOrder, LargestFirst
export DynamicDegreeBasedOrder, SmallestLast, IncidenceDegree, DynamicLargestFirst
export PerfectEliminationOrder
export ColoringProblem, GreedyColoringAlgorithm, AbstractColoringResult
export ConstantColoringAlgorithm, StructuredColoringAlgorithm
export OptimalColoringAlgorithm
export coloring, fast_coloring
export column_colors, row_colors, ncolors
export column_groups, row_groups
export sparsity_pattern
export compress, decompress, decompress!, decompress_single_color!
end