|
PriorityQueueTResize Method
|
Resize the queue so it can accept more nodes. All currently enqueued nodes are kept.
Attempting to decrease the queue size to a size too small to hold the existing nodes
results in undefined behavior. This is an O(n) operation.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public void Resize(
int capacity
)
Public Sub Resize (
capacity As Integer
)
Request Example
View SourceParameters
- capacity
- Type: SystemInt32
See Also