⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pp_point.h

📁 一个非常有用的客户端开发程序
💻 H
字号:
#ifndef PP_POINT_H#define PP_POINT_H#include"util/timeutil.h"struct PP_Point {   int x;   int y;   int th;   double cost;   int id; // for bum list   PP_Point* parent;    bool closed;   bool valid;   struct timeval timestamp;   PP_Point(int xp, int yp) {id=-1;x=xp;y=yp;cost=0;th=0; parent=0;closed=false;valid=false;timestamp=getCurrentTime();}   PP_Point() {id=-1;x=0;y=0;th=0;cost=0;parent=0;closed=false;valid=false;timestamp=getCurrentTime();}   bool  operator!=(const PP_Point a){      return a.x!=x || a.y!=y;   }   bool  operator==(const PP_Point a){      return a.x==x && a.y==y;   }};#endif //PP_POINT_H/********************************************************************* * (C) Copyright 2006 Albert Ludwigs University Freiburg *     Institute of Computer Science * * All rights reserved. Use of this software is permitted for * non-commercial research purposes, and it may be copied only * for that use. All copies must include this copyright message. * This software is made available AS IS, and neither the authors * nor the Albert Ludwigs University Freiburg make any warranty * about the software or its performance. *********************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -