1 Star 0 Fork 0

水兵/cpu-code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
graph.h 667 Bytes
一键复制 编辑 原始数据 按行查看 历史
Your Name 提交于 2021-10-18 10:55 +08:00 . analysize
#ifndef GRAPH_H
#define GRAPH_H
#include <string>
using namespace std;
struct res{
double totalTime, calcTime;
long long ans;
res(){
totalTime = 0;
calcTime = 0;
ans = 0;
}
res(double _totalTime, double _calcTime, long long _ans){
totalTime = _totalTime;
calcTime = _calcTime;
ans = _ans;
}
};
class graph
{
public:
long long* beginPos1;
int* beginPos;
int* edgeList;
int* deg;
int uCount,vCount,breakVertex32,breakVertex10,vertexCount;
long long edgeCount;
void loadgraph(string folderName,int bound);
int* beginPos16;
int s16;
~graph();
};
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Shbinging/cpu-code.git
git@gitee.com:Shbinging/cpu-code.git
Shbinging
cpu-code
cpu-code
master

搜索帮助