?? agraph.h
字號:
// 圖的鄰接矩陣,也就是固定沒有邊就=0, 然后權值也是為1
#ifndef AdjacencyGraph_
#define AdjacencyGraph_
#include "awgraph.h"
class AdjacencyGraph : public AdjacencyWGraph<int>
{
public:
AdjacencyGraph(int Vertices = 10) : AdjacencyWGraph<int>(Vertices, 0) {}
AdjacencyGraph& Add(int i, int j) {AdjacencyWGraph<int>::Add(i,j,1); return *this;}
AdjacencyGraph& Delete(int i, int j){AdjacencyWGraph<int>::Delete(i,j);return *this;}
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -