NetDest.hh (6762:a22a47e60c21) NetDest.hh (6797:7bf0a839c237)
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

91 bool isSubset(const NetDest& test) const { return test.isSuperset(*this); }
92 bool isElement(MachineID element) const;
93 bool isBroadcast() const;
94 bool isEmpty() const;
95
96 //For Princeton Network
97 Vector<NodeID> getAllDest();
98
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

91 bool isSubset(const NetDest& test) const { return test.isSuperset(*this); }
92 bool isElement(MachineID element) const;
93 bool isBroadcast() const;
94 bool isEmpty() const;
95
96 //For Princeton Network
97 Vector<NodeID> getAllDest();
98
99 NodeID smallestElement() const;
99 MachineID smallestElement() const;
100 MachineID smallestElement(MachineType machine) const;
101
102 void setSize();
103 int getSize() const { return m_bits.size(); }
104
105 // get element for a index
106 NodeID elementAt(MachineID index);
107

--- 37 unchanged lines hidden ---
100 MachineID smallestElement(MachineType machine) const;
101
102 void setSize();
103 int getSize() const { return m_bits.size(); }
104
105 // get element for a index
106 NodeID elementAt(MachineID index);
107

--- 37 unchanged lines hidden ---