- 博客(0)
- 资源 (1)
空空如也
CriticalPath
数据结构图的代码#include <iostream>
#include <cstring>
#include <queue>
int defaultNumVertices = 100;
int defaultWeight=0;
int maxWeight=0x7fffffff;
using namespace std;
template<typename W>
struct EdgeNode
{
int to;
W weight;
EdgeNode<W>* next;
EdgeNode(int t,const W& w, EdgeNode<W>* nt=NULL):to(t),weight(w),next(nt)
{
}
EdgeNode(EdgeNode<W>* nt=NULL):next(nt)
{
}
};
2016-01-11
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人