代码搜索:graph
找到约 10,000 项符合「graph」的源代码
代码结果 10,000
www.eeworm.com/read/161837/10366499
dsw graph.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/161837/10366554
dsp graph.dsp
# Microsoft Developer Studio Project File - Name="graph" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Con
www.eeworm.com/read/161837/10366562
cpp graph.cpp
//graph.cpp
#include
#include "graph.h"//引入头文件
/*
*前置条件:图不存在
*输 入:无
*功 能:图的初始化
*输 出:无
*后置条件:得到一个有向图
*/
template
ALGraph::ALGraph(T a[ ], int n, int
www.eeworm.com/read/161837/10366566
h graph.h
//graph.h
#ifndef GRAPH_H //定义头文件
#define GRAPH_H
using namespace std;
const int MaxSize=12;
struct ArcNode //定义边表结点
{
int adjvex;
www.eeworm.com/read/161837/10366571
dsw graph.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/354236/10374591
vi graph.vi
www.eeworm.com/read/161762/10378762
c graph.c
www.eeworm.com/read/424984/10388790
asm graph.asm
setiom macro x,y,z,l,m,n
mov x,y
z l,m
int n
endm
pushr macro x,y,z,w
push x
push y
push z
push w
endm
popr macro x,y,z,w
pop w
pop z
pop y
pop x
endm
stacks segment
www.eeworm.com/read/354109/10388867
cpp graph.cpp
//图的相关运算的实现graph.cpp
#include"graph.h"
//构造函数,初始化图的邻接矩阵
AdjMatrix::AdjMatrix(int n,int k2)
{int i,j;
if(k2==0){//初始化无(有)向无权图
for(i=0;i
www.eeworm.com/read/354109/10388893
h graph.h
//图的相关数据类型的定义graph.h
//最多顶点数
const int MaxV=10;
//最大权值
const int MaxValue=99;
//定义邻接表中的边结点类型
struct edgenode {
int adjvex; //邻接点域
int weight; //权值域
edgenode* next;//指向下一个边结点的链域
};
//