author | Gustavo J. A. M. Carneiro <gjc@inescporto.pt> |
Thu, 20 Dec 2007 15:19:57 +0000 | |
changeset 2196 | fb01b99ce66d |
parent 1457 | 562a7017ed93 |
child 3378 | 747aeace32ee |
permissions | -rw-r--r-- |
1111 | 1 |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 |
/* |
|
1457
562a7017ed93
Copyrights/licenses for routing code
Tom Henderson <tomh@tomh.org>
parents:
1121
diff
changeset
|
3 |
* Copyright 2007 University of Washington |
562a7017ed93
Copyrights/licenses for routing code
Tom Henderson <tomh@tomh.org>
parents:
1121
diff
changeset
|
4 |
* |
1111 | 5 |
* This program is free software; you can redistribute it and/or modify |
6 |
* it under the terms of the GNU General Public License version 2 as |
|
7 |
* published by the Free Software Foundation; |
|
8 |
* |
|
9 |
* This program is distributed in the hope that it will be useful, |
|
10 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 |
* GNU General Public License for more details. |
|
13 |
* |
|
14 |
* You should have received a copy of the GNU General Public License |
|
15 |
* along with this program; if not, write to the Free Software |
|
16 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
1457
562a7017ed93
Copyrights/licenses for routing code
Tom Henderson <tomh@tomh.org>
parents:
1121
diff
changeset
|
17 |
* |
562a7017ed93
Copyrights/licenses for routing code
Tom Henderson <tomh@tomh.org>
parents:
1121
diff
changeset
|
18 |
* Author: Craig Dowell (craigdo@ee.washington.edu) |
1111 | 19 |
*/ |
20 |
||
21 |
#ifndef CANDIDATE_QUEUE_H |
|
22 |
#define CANDIDATE_QUEUE_H |
|
23 |
||
24 |
#include <stdint.h> |
|
25 |
#include <list> |
|
2196
fb01b99ce66d
Don't include the 'global-route-manager-impl.h' private header from the public header 'candidate-queue.h'.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1457
diff
changeset
|
26 |
#include "ns3/ipv4-address.h" |
1111 | 27 |
|
28 |
namespace ns3 { |
|
29 |
||
2196
fb01b99ce66d
Don't include the 'global-route-manager-impl.h' private header from the public header 'candidate-queue.h'.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1457
diff
changeset
|
30 |
class SPFVertex; |
fb01b99ce66d
Don't include the 'global-route-manager-impl.h' private header from the public header 'candidate-queue.h'.
Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
parents:
1457
diff
changeset
|
31 |
|
1111 | 32 |
/** |
33 |
* \brief A Candidate Queue used in static routing. |
|
34 |
* |
|
35 |
* The CandidateQueue is used in the OSPF shortest path computations. It |
|
36 |
* is a priority queue used to store candidates for the shortest path to a |
|
37 |
* given network. |
|
38 |
* |
|
39 |
* The queue holds Shortest Path First Vertex pointers and orders them |
|
40 |
* according to the lowest value of the field m_distanceFromRoot. Remaining |
|
41 |
* vertices are ordered according to increasing distance. This implements a |
|
42 |
* priority queue. |
|
43 |
* |
|
44 |
* Although a STL priority_queue almost does what we want, the requirement |
|
45 |
* for a Find () operation, the dynamic nature of the data and the derived |
|
46 |
* requirement for a Reorder () operation led us to implement this simple |
|
47 |
* enhanced priority queue. |
|
48 |
*/ |
|
49 |
class CandidateQueue |
|
50 |
{ |
|
51 |
public: |
|
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
52 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
53 |
* @brief Create an empty SPF Candidate Queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
54 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
55 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
56 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
57 |
*/ |
1111 | 58 |
CandidateQueue (); |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
59 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
60 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
61 |
* @internal Destroy an SPF Candidate Queue and release any resources held |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
62 |
* by the contents. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
63 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
64 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
65 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
66 |
*/ |
1111 | 67 |
virtual ~CandidateQueue (); |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
68 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
69 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
70 |
* @brief Empty the Candidate Queue and release all of the resources |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
71 |
* associated with the Shortest Path First Vertex pointers in the queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
72 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
73 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
74 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
75 |
*/ |
1111 | 76 |
void Clear (void); |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
77 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
78 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
79 |
* @brief Push a Shortest Path First Vertex pointer onto the queue according |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
80 |
* to the priority scheme. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
81 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
82 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
83 |
* On completion, the top of the queue will hold the Shortest Path First |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
84 |
* Vertex pointer that points to a vertex having lowest value of the field |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
85 |
* m_distanceFromRoot. Remaining vertices are ordered according to |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
86 |
* increasing distance. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
87 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
88 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
89 |
* @param vNew The Shortest Path First Vertex to add to the queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
90 |
*/ |
1111 | 91 |
void Push (SPFVertex *vNew); |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
92 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
93 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
94 |
* @brief Pop the Shortest Path First Vertex pointer at the top of the queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
95 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
96 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
97 |
* The caller is given the responsiblity for releasing the resources |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
98 |
* associated with the vertex. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
99 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
100 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
101 |
* @see Top () |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
102 |
* @returns The Shortest Path First Vertex pointer at the top of the queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
103 |
*/ |
1111 | 104 |
SPFVertex* Pop (void); |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
105 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
106 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
107 |
* @brief Return the Shortest Path First Vertex pointer at the top of the |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
108 |
* queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
109 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
110 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
111 |
* This method does not pop the SPFVertex* off of the queue, it simply |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
112 |
* returns the pointer. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
113 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
114 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
115 |
* @see Pop () |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
116 |
* @returns The Shortest Path First Vertex pointer at the top of the queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
117 |
*/ |
1111 | 118 |
SPFVertex* Top (void) const; |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
119 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
120 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
121 |
* @brief Test the Candidate Queue to determine if it is empty. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
122 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
123 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
124 |
* @returns True if the queue is empty, false otherwise. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
125 |
*/ |
1111 | 126 |
bool Empty (void) const; |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
127 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
128 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
129 |
* @brief Return the number of Shortest Path First Vertex pointers presently |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
130 |
* stored in the Candidate Queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
131 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
132 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
133 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
134 |
* @returns The number of SPFVertex* pointers in the Candidate Queue. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
135 |
*/ |
1111 | 136 |
uint32_t Size (void) const; |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
137 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
138 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
139 |
* @brief Searches the Candidate Queue for a Shortest Path First Vertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
140 |
* pointer that points to a vertex having the given IP address. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
141 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
142 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
143 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
144 |
* @param addr The IP address to search for. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
145 |
* @returns The SPFVertex* pointer corresponding to the given IP address. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
146 |
*/ |
1111 | 147 |
SPFVertex* Find (const Ipv4Address addr) const; |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
148 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
149 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
150 |
* @brief Reorders the Candidate Queue according to the priority scheme. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
151 |
* @internal |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
152 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
153 |
* On completion, the top of the queue will hold the Shortest Path First |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
154 |
* Vertex pointer that points to a vertex having lowest value of the field |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
155 |
* m_distanceFromRoot. Remaining vertices are ordered according to |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
156 |
* increasing distance. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
157 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
158 |
* This method is provided in case the values of m_distanceFromRoot change |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
159 |
* during the routing calculations. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
160 |
* |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
161 |
* @see SPFVertex |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
162 |
*/ |
1111 | 163 |
void Reorder (void); |
164 |
||
165 |
protected: |
|
166 |
typedef std::list<SPFVertex*> CandidateList_t; |
|
167 |
CandidateList_t m_candidates; |
|
168 |
||
169 |
private: |
|
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
170 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
171 |
* Candidate Queue copy construction is disallowed (not implemented) to |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
172 |
* prevent the compiler from slipping in incorrect versions that don't |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
173 |
* properly deal with deep copies. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
174 |
*/ |
1111 | 175 |
CandidateQueue (CandidateQueue& sr); |
1114
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
176 |
|
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
177 |
/** |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
178 |
* Candidate Queue assignment operator is disallowed (not implemented) to |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
179 |
* prevent the compiler from slipping in incorrect versions that don't |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
180 |
* properly deal with deep copies. |
4bf5d1262aae
doxygen update (@internal)
Craig Dowell <craigdo@ee.washington.edu>
parents:
1111
diff
changeset
|
181 |
*/ |
1111 | 182 |
CandidateQueue& operator= (CandidateQueue& sr); |
183 |
}; |
|
184 |
||
185 |
} // namespace ns3 |
|
186 |
||
187 |
#endif /* CANDIDATE_QUEUE_H */ |