• 大小: 0.11M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 算法  实例  C#  c  路径  

资源简介

路径规划实例,绘图及算法实例

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace WinForms_path
{
   
    public  class AStarNode
    {
        
        public AStarNode(Point loc AStarNode previous int _costG int _costH)
        {
            this.location = loc;
            this.previousNode = previous;
            this.costG = _costG;
            this.costH = _costH;
        }
       

        private Point location = new Point(0 0);
        /// 
        /// Location 节点所在的位置,其X值代表ColumnIndex,Y值代表LineIndex
        /// 

        public Point Location
        {
            get { return location; }
        }
       
        private AStarNode previousNode = null;
        /// 

        /// PreviousNode 父节点,即是由哪个节点导航到当前节点的。
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    .......      2518  2018-01-22 09:47  WinForms_path\.gitattributes

    .......      3755  2018-01-22 09:47  WinForms_path\.gitignore

    ..A..H.     23552  2018-01-23 17:56  WinForms_path\.vs\WinForms_path\v14\.suo

    .......      1064  2018-01-22 09:47  WinForms_path\LICENSE

    .......       151  2018-01-22 09:47  WinForms_path\WinForms_path\App.config

    .......      5303  2018-01-22 09:47  WinForms_path\WinForms_path\AStarNode.cs

    .......     10468  2018-01-22 09:47  WinForms_path\WinForms_path\AStarRoutePlanner.cs

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\1.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\10.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\11.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\2.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\3.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\4.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\5.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\6.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\7.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\8.bmp

     文件    1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\bitmap\9.bmp

     文件      24064  2018-01-23 17:55  WinForms_path\WinForms_path\bin\Debug\WinForms_path.exe

     文件        151  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\WinForms_path.exe.config

     文件      44544  2018-01-23 17:55  WinForms_path\WinForms_path\bin\Debug\WinForms_path.pdb

     文件      21680  2018-01-23 17:56  WinForms_path\WinForms_path\bin\Debug\WinForms_path.vshost.exe

     文件        151  2018-01-22 09:47  WinForms_path\WinForms_path\bin\Debug\WinForms_path.vshost.exe.config

     文件        490  2017-09-29 21:43  WinForms_path\WinForms_path\bin\Debug\WinForms_path.vshost.exe.manifest

    .......   1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bitmap\1.bmp

    .......   1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bitmap\10.bmp

    .......   1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bitmap\11.bmp

    .......   1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bitmap\2.bmp

    .......   1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bitmap\3.bmp

    .......   1440054  2018-01-22 09:47  WinForms_path\WinForms_path\bitmap\4.bmp

............此处省略43个文件信息

评论

共有 条评论