Topology.hh (11664:2365e9e396f7) Topology.hh (11715:31b2c4b52047)
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 43 unchanged lines hidden (view full) ---

52class Network;
53
54typedef std::vector<std::vector<int> > Matrix;
55typedef std::string PortDirection;
56
57struct LinkEntry
58{
59 BasicLink *link;
1/*
2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 43 unchanged lines hidden (view full) ---

52class Network;
53
54typedef std::vector<std::vector<int> > Matrix;
55typedef std::string PortDirection;
56
57struct LinkEntry
58{
59 BasicLink *link;
60 LinkDirection direction;
61 PortDirection src_outport_dirn;
62 PortDirection dst_inport_dirn;
63};
64
65typedef std::map<std::pair<SwitchID, SwitchID>, LinkEntry> LinkMap;
66
67class Topology
68{

--- 46 unchanged lines hidden ---
60 PortDirection src_outport_dirn;
61 PortDirection dst_inport_dirn;
62};
63
64typedef std::map<std::pair<SwitchID, SwitchID>, LinkEntry> LinkMap;
65
66class Topology
67{

--- 46 unchanged lines hidden ---