1 Star 0 Fork 68

新无止竞/图与网络优化_Qt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
common.h 927 Bytes
一键复制 编辑 原始数据 按行查看 历史
ZzqiZQute 提交于 2019-03-06 19:47 . add about Qt
#ifndef COMMON_H
#define COMMON_H
#define POS_INFINITY 1073741823 //max pos integer /2
#define ERROR_CODE -1073741824
#define UNSUPPORTED_ERROR -1073741823
#define VERTEX_SIZE 50
#define PI 3.1415926535897932
#define FLOYDMAXDISPLAY 15
#define LABELLRMARGIN 30
#define MIN(a,b) (a>b?b:a)
#define MAX(a,b) (a<b?b:a)
#include "spgraph.h"
#include "spvertex.h"
#include "spvertexparam.h"
#include "nsmgraph.h"
#include "nsmvertex.h"
#include "nsmvertexparam.h"
#include "floydmark.h"
#include "bellmanmark.h"
#include "basematrix.h"
#include "basevector.h"
#include "nsmvertexdata.h"
#include "nsmvertexparamdata.h"
#include "nsmgraphdata.h"
#include "nsmdummyedge.h"
#endif // COMMON_H
double calcDeg(int x1,int y1,int x2,int y2);
QPoint calcTail(int x,int y,double deg,double len);
double calcDis(double x1, double y1, double x2, double y2);
void convertToColName(int data, QString &res);
QString to26AlphabetString(int data);
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/huiwei13/graph_and_network_optimization_qt.git
[email protected]:huiwei13/graph_and_network_optimization_qt.git
huiwei13
graph_and_network_optimization_qt
图与网络优化_Qt
master

搜索帮助