代码搜索:Graph
找到约 10,000 项符合「Graph」的源代码
代码结果 10,000
www.eeworm.com/read/411734/11230612
cpp algo0704.cpp
void DFSTraverse(Graph G, Status (*Visit)(int v)) { // 算法7.4
// 对图G作深度优先遍历。
int v;
VisitFunc = Visit; // 使用全局变量VisitFunc,使DFS不必设函数指针参数
for (v=0; v
www.eeworm.com/read/148257/12479861
m fwin.m
function noreturn=fwin(arg1, arg2, arg3);
% fwin : This program handles graph interface for fractal - an ATLAST
% workshop project: 2D/3D Fractal Pictures of Fern and Other Fractal Images!
% Thi
www.eeworm.com/read/147693/12538539
pl fig9_23.pl
% Figure 9.23 Finding a spanning tree of a graph: a `declarative'
% program. Relations node and adjacent are as in Figure 9.22.
% Finding a spanning tree
% Graphs and trees are represented a
www.eeworm.com/read/334779/12573728
cpp prg16_3.cpp
#ifdef _MSC_VER
// disable warning messages that identifier was truncated
// to 'number' characters in the debug information
#pragma warning(disable:4786)
#endif // _MSC_VER
// File: prg16_3.cp
www.eeworm.com/read/247565/12642103
1 tload.1
.\" -*-Nroff-*-
.\" This page Copyright (C) 1993 Matt Welsh, mdw@tc.cornell.edu.
.\" Freely distributable under the terms of the GPL
.TH TLOAD 1 "20 Mar 1993 " "Cohesive Systems" "Linux
www.eeworm.com/read/146442/12648333
hs tsort.hs
-----------------------------------------------------------------------------
-- |
-- Module : Tsort
-- Copyright : Thomas Hallgren? Lennart Augustsson?
--
-- Maintainer : Malcolm Wa
www.eeworm.com/read/134816/13973433
txt 用邻接矩阵实现图的数据结构问题.txt
/*用邻接矩阵实现图*/
#include
#include
#define WItem int
typedef struct graph *Graph;
struct graph
{
WItem NoEdge; /*无边标记*/
int n; /*顶点数*/
www.eeworm.com/read/236566/14011783
h tu1.h
#define MAX_V 20
#include
#include
#include
#include "tu2.h"
typedef struct{
int Vertex[MAX_V];//顶点
int R[MAX_V][MAX_V];//邻接矩阵数组
int vexnum;//顶点号
}Grap
www.eeworm.com/read/133501/14038624
cpp dijkstrashortestpath.cpp
// DijkstraShortestPath.cpp : Defines the entry point for the console application.
// Copyright SongWenqin story_y365@yahoo.com.cn
#include "stdafx.h"
#include "stdlib.h"
#include "stdio.h"
#in
www.eeworm.com/read/204469/15338899
cpp p284b.cpp
#include "iostream.h"
#include "assert.h"
const int NumVertices = 6; //图中最大顶点个数
const int MAXINT=32767;
class Graph { //图的类定义
private:
int n;
int Edge[NumVertice