Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Searcher"/> class.
 /// </summary>
 /// <param name="core">The core of the graph.</param>
 internal Searcher(Core core)
 {
     this.core            = core;
     this.expansionBuffer = new List <int>();
     this.visitedSet      = new VisitedBitSet(core.Nodes.Count);
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Searcher"/> struct.
 /// </summary>
 /// <param name="core">The core of the graph.</param>
 internal Searcher(Core core)
 {
     Core            = core;
     ExpansionBuffer = new List <int>();
     VisitedSet      = new VisitedBitSet(core.Nodes.Count);
 }