Routing Links
The central type to represent routing resources during routing.
Mapper2.Routing.RoutingLink — Type.abstract type RoutingLinkFields
Documentation
Representation of routing resources in an architecture.
API
Implementations
BasicRoutingLink- Reference this type for what methods of the API come for free when using various fields of the basic type.
Method List
API
Mapper2.Routing.channels — Function.channels(link::RoutingLink) :: Vector{ChannelIndex}Return list of channels currently occupying link.
Mapper2.Routing.cost — Function.cost(link::RoutingLink) :: Float64Return the base cost of a channel using link as a routing resource.
Mapper2.Routing.capacity — Function.capacity(link::RoutingLink) :: RealReturn the capacity of link.
Mapper2.Routing.occupancy — Function.occupancy(link::RoutingLink)Return the number of channels currently using link.
Mapper2.Routing.addchannel — Function.addchannel(link::RoutingLink, channel::ChannelIndex)Record that channel is using link.
Mapper2.Routing.remchannel — Function.remchannel(link::RoutingLink, channel::ChannelIndex)Remove channel from the list of channels using link.
Implementations
Mapper2.Routing.BasicRoutingLink — Type.struct BasicRoutingLink <: RoutingLinkFields
channelsVector of channels curently assigned to the link.
costBase cost of using this link.
capacityNumber of channels that can be mapped to this link without it being considered congested.
Documentation
Default implementation of RoutingLink
Simple container for channel indices, cost, and capacity.
Constructors
BasicRoutingLink(channels, cost, capacity)
BasicRoutingLink(channels, cost, capacity)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Route/Links.jl:12.
BasicRoutingLink(; cost, capacity)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Route/Links.jl:24.
Method List
BasicRoutingLink(channels, cost, capacity)
BasicRoutingLink(channels, cost, capacity)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Route/Links.jl:12.
BasicRoutingLink(; cost, capacity)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Route/Links.jl:24.