C# (CSharp) Universe.BotManager.AStar Heap - 2 exemples trouvés. Ce sont les exemples réels les mieux notés de Universe.BotManager.AStar.Heap extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
The Heap allows to maintain a list sorted as long as needed. If no IComparer interface has been provided at construction, then the list expects the Objects to implement IComparer. If the list is not sorted it behaves like an ordinary list. When sorted, the list's "Add" method will put new objects at the right place. As well the "Contains" and "IndexOf" methods will perform a binary search.