SADistance

SADistance

abstract type SADistance

Fields

Documentation

Abstract distance type for placement.

API

Basic Implementation

Method List

source

API

getdistance(A::SADistance, a, b)

Return the distance from a to b with respect to A. Both a and b will implement getaddress.

Method List

getdistance(A, a, b)

defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Distance.jl:66.

source
maxdistance(sa_struct, A::SADistance)

Return the maximum distance value of that occurs in sa_struct using the distance metric imposed by A.

Method List

maxdistance(sa_struct, A)

defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Distance.jl:68.

source

Implementations

struct BasicDistance{D} <: Mapper2.SA.SADistance

Fields

  • table

    Simple look up table indexed by pairs of addresses. Returned value is the distance between the two addresses.

    If an architecture has dimension "N", then the dimension of table is 2N.

Documentation

Basic implementation of SADistance. Constructs a look up table of distances between all address pairs. Addresses have a distance of 1 if there exists even one link between components at those addresses.

Method List

BasicDistance(table)

defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Distance.jl:55.

BasicDistance(toplevel, pathtable)

defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Distance.jl:75.

source