Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
PriorityQueueNode.cs
Go to the documentation of this file.
1
// Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2
// This file is distributed under GPL v3. See LICENSE.md for details.
3
namespace
SiliconStudio.Core.Collections
4
{
5
/// <summary>
6
/// Represents a node in a priority queue, to allow O(n) removal.
7
/// </summary>
8
/// <typeparam name="T"></typeparam>
9
public
class
PriorityQueueNode<T>
10
{
11
public
T Value {
get
;
internal
set; }
12
13
public
int
Index {
get
;
internal
set; }
14
15
public
PriorityQueueNode
(T value)
16
{
17
Value = value;
18
Index = -1;
19
}
20
}
21
}
SiliconStudio.Core.Collections.PriorityQueueNode< T >.PriorityQueueNode
PriorityQueueNode(T value)
Definition:
PriorityQueueNode.cs:15
sources
common
core
SiliconStudio.Core
Collections
PriorityQueueNode.cs
Generated on Sat Dec 20 2014 21:51:08 for Paradox Game Engine by
1.8.7