Click or drag to resize
Accord.NET (logo)

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
public void Resize(
	int capacity
Request Example View Source


Type: SystemInt32
See Also