127 lines
2.4 KiB
Julia
127 lines
2.4 KiB
Julia
"""
|
|
MetagraphOptimization
|
|
|
|
A module containing tools to work on DAGs.
|
|
"""
|
|
module MetagraphOptimization
|
|
|
|
export DAG
|
|
export Node
|
|
export Edge
|
|
export ComputeTaskNode
|
|
export DataTaskNode
|
|
export AbstractTask
|
|
export AbstractComputeTask
|
|
export AbstractDataTask
|
|
export DataTask
|
|
export FusedComputeTask
|
|
export PossibleOperations
|
|
export GraphProperties
|
|
|
|
export make_node
|
|
export make_edge
|
|
export insert_node
|
|
export insert_edge
|
|
export is_entry_node
|
|
export is_exit_node
|
|
export parents
|
|
export children
|
|
export compute
|
|
export get_properties
|
|
export get_exit_node
|
|
export is_valid
|
|
|
|
export Operation
|
|
export AppliedOperation
|
|
export NodeFusion
|
|
export NodeReduction
|
|
export NodeSplit
|
|
export push_operation!
|
|
export pop_operation!
|
|
export can_pop
|
|
export reset_graph!
|
|
export get_operations
|
|
|
|
export parse_abc
|
|
export ComputeTaskP
|
|
export ComputeTaskS1
|
|
export ComputeTaskS2
|
|
export ComputeTaskV
|
|
export ComputeTaskU
|
|
export ComputeTaskSum
|
|
|
|
export execute
|
|
export gen_particles
|
|
export ParticleValue
|
|
export Particle
|
|
|
|
export ==, in, show, isempty, delete!, length
|
|
|
|
export bytes_to_human_readable
|
|
|
|
import Base.length
|
|
import Base.show
|
|
import Base.==
|
|
import Base.+
|
|
import Base.-
|
|
import Base.in
|
|
import Base.copy
|
|
import Base.isempty
|
|
import Base.delete!
|
|
import Base.insert!
|
|
import Base.collect
|
|
|
|
|
|
include("task/type.jl")
|
|
include("node/type.jl")
|
|
include("diff/type.jl")
|
|
include("properties/type.jl")
|
|
include("operation/type.jl")
|
|
include("graph/type.jl")
|
|
|
|
include("trie.jl")
|
|
include("utility.jl")
|
|
|
|
include("diff/print.jl")
|
|
include("diff/properties.jl")
|
|
|
|
include("graph/compare.jl")
|
|
include("graph/interface.jl")
|
|
include("graph/mute.jl")
|
|
include("graph/print.jl")
|
|
include("graph/properties.jl")
|
|
include("graph/validate.jl")
|
|
|
|
include("node/compare.jl")
|
|
include("node/create.jl")
|
|
include("node/print.jl")
|
|
include("node/properties.jl")
|
|
include("node/validate.jl")
|
|
|
|
include("operation/utility.jl")
|
|
include("operation/apply.jl")
|
|
include("operation/clean.jl")
|
|
include("operation/find.jl")
|
|
include("operation/get.jl")
|
|
include("operation/print.jl")
|
|
include("operation/validate.jl")
|
|
|
|
include("properties/create.jl")
|
|
include("properties/utility.jl")
|
|
|
|
include("task/create.jl")
|
|
include("task/compare.jl")
|
|
include("task/print.jl")
|
|
include("task/properties.jl")
|
|
|
|
include("models/abc/types.jl")
|
|
include("models/abc/particle.jl")
|
|
include("models/abc/compute.jl")
|
|
include("models/abc/create.jl")
|
|
include("models/abc/properties.jl")
|
|
include("models/abc/parse.jl")
|
|
|
|
include("code_gen/main.jl")
|
|
|
|
end # module MetagraphOptimization
|