Lines Matching defs:dest
162 Topology::addLink(SwitchID src, SwitchID dest, BasicLink* link,
167 assert(dest <= m_number_of_switches+m_nodes+m_nodes);
173 src_dest_pair.second = dest;
181 Topology::makeLink(Network *net, SwitchID src, SwitchID dest,
186 assert(src >= 2 * m_nodes || dest >= 2 * m_nodes);
193 src_dest.second = dest;
195 net->makeExtInLink(src, dest - (2 * m_nodes), link_entry.link,
197 } else if (dest < 2*m_nodes) {
198 assert(dest >= m_nodes);
199 NodeID node = dest - m_nodes;
201 src_dest.second = dest;
206 assert((src >= 2 * m_nodes) && (dest >= 2 * m_nodes));
208 src_dest.second = dest;
210 net->makeInternalLink(src - (2 * m_nodes), dest - (2 * m_nodes),