代码搜索:Graph
找到约 10,000 项符合「Graph」的源代码
代码结果 10,000
www.eeworm.com/read/126997/14390267
java workflow_graphed.java
package treedoc;
/**
*
增加一些添加节点的方法
流程图主要工作类............
*/
/**
* 名称 : WORKFLOW_GRAPHED
* 描述 : WWW.FANGFA.NET 工作流管理系统--流程拓扑图处理类
* 版权信息 : Copyright (c) 2004 COMSCI
* @
www.eeworm.com/read/125063/14515158
sh find-isa.sh
#!/bin/sh
# This script is done by Mei (m_e_i_69@hotmail.com
# angelo.difilippo@tiscalinet.it). If you are sure your modem is a
# Lucent isa pnp modem and this script doesn't detect it please send me
www.eeworm.com/read/225102/14555901
txt hfm.txt
# include
# include
# define maxlen 10
# define large 999
# define null 0
typedef struct
{
int a[maxlen],b[maxlen],w[maxlen]; /*第K边的起点,终点,权值*/
char vexs[m
www.eeworm.com/read/225101/14555905
txt prim.txt
如果以无向网表示n个城市之间的交通网络建设规划,顶点表示城市,边上的权表示该线路的造价,试设计一个方案,使这个交通网的总造价最小。
# include
# include
# define maxlen 10
# define large 999
# define null 0
typedef struct
{
int
www.eeworm.com/read/124570/14559639
java drawable.java
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers
www.eeworm.com/read/224294/14597465
txt dijkstra.txt
/*
最短路径
边松弛:测试沿着一条边,是否得到通向目标顶点的一条新的最短路径。
路径松弛:测试通过一个已知节点,是否可以得到一条连通其他两个已知顶点的新的最短路径。
性质:
如果顶点x是在从s到t的最短路径上,则该路径包含一条从s到x的最短路径,接着是一条从x到t的最短路径。
*/
//dijkstra算法
//以顶点到起始顶点的距离远近为顺序,在spt上添加顶点。
#incl ...
www.eeworm.com/read/223339/14644636
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/122383/14695999
cpp prims.cpp
/******Don't forget to download*****
*****GRAPHICAL DATA FILE STRUCTURE*****
*****A approach to learn DFS Graphically*****
Only @ http://www.vivekpatel.cjb.net */
//Prims Algorithm
//--
www.eeworm.com/read/122383/14696017
bak prims.bak
//Prims Algorithm
//--for minimum spanning tree--
//INCOMPLETE
#include
#include
#define ROW 7
#define COL 7
#define infi 5000 //infi for infinity
class prims
{
www.eeworm.com/read/121167/14768124
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