MOPEDS

Documentation for MOPEDS.

All docstrings:

MOPEDS.BridgedWrapperMethod
BridgedWrapper(obj)

A wrapper around obj with bridges all_bridges(obj) enabled. A BridgedWrapper can be used to efficiently query shortest paths.

source
MOPEDS.EdgeType
Edge(bridge_index::Int, added_nodes::Vector{Node}, cost::Float64)

Hyper-edge in bridging hypergraph.

source
MOPEDS.bridging_costMethod
bridging_cost(
    bridge::AbstractBridge, func::Function, args_Type::Type{<:Tuple}
)

(Positive) cost of bridging with bridge.

source
MOPEDS.is_implementedMethod
is_implemented(
    bridge::AbstractBridge, func::Function, args_Type::Type{<:Tuple})

Trait function to indicate if a method exists.

source
MOPEDS.required_funcs_with_argtypesMethod
required_funcs_with_argtypes(
    bridge::AbstractBridge, func::Function, args_Type::Type{<:Tuple}
)

Return an indexable iterable of function-args_Type tuples required by bridge.

source
MOPEDS.static_whichMethod
static_which(f, [type_tuple::Type{<:Tuple}, throw_error::Union{Val{true}, Val{false}}])

Similar to Base.which this returns the method of f that would be used by invoke for the given argument type tuple. If throw_error==Val(true), then an error is thrown if no suitable method is found. If throw_error==Val(false) and there is no method, then nothing is returned. Default is throw_error=Val(false).

source