root/src/BRAINSFramework/PathFinding/PathFinder.cs

113
1
//****************************************************************//
1
2
//********************copyright Rik Dodsworth 2009****************//
3
//****************************************************************//
4
//***************************free to use**************************//
5
//****************************************************************//
6
//*******************please just leave this header****************//
7
//*************************for recognition************************//
8
//****************************************************************//
9
//****************************************************************//
10
using System;
2
using System;
11
using System.Collections.Generic;
3
using System.Collections.Generic;
12
using System.Text;
4
using System.Text;
13
using AIFamework;
5
using Brains.Framework.Map;
14
6
7
15
namespace Brains.Framework.PathFinding
8
namespace Brains.Framework.PathFinding
16
{
9
{
17
    public class PathFinder
10
    public class PathFinder
...
...
323
            return _foundInOpenIndex ;
316
            return _foundInOpenIndex ;
324
        }
317
        }
325
        
318
        
326
        public enum HeuristicType
319
       
327
        {
328
            Euclidean,
329
            Manhattan,
330
            Diagonal
331
        }
332
        
320
        
333
321
334
    }
322
    }