代码搜索结果
找到约 10,000 项符合
7 的代码
example7_7.java
/* 模拟银行帐户类 */
class Mbank
{
private static int sum=2000;
public synchronized static void take(int k)
{
int temp=sum;
temp-=k;
try{Thread.sleep((int)(1000*Math.random()));}
exam7_7.sln
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Exam7_7", "Exam7_7.csproj", "{57469BC1-48A2-4801-BD9A-FE909C17C273}"
ProjectSection(P
chap7_7.mdl
Model {
Name "chap7_7"
Version 3.00
SimParamPage "Solver"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes
algo7-7.cpp
// algo<mark>7</mark>-<mark>7</mark>.cpp 输出有向图的一个拓扑序列。实现算法<mark>7</mark>.12的程序
#include"c1.h"
#include"func<mark>7</mark>-1.cpp" // 包括顶点信息类型的定义及对它的操作
#include"func<mark>7</mark>-4.cpp" // 弧(边)的相关信息类型的定义及对它的操作
#include"c<mark>7</mark>-2'.h" // 图的邻接表存储结构(与单链表的变量类型建立联系)
...
func7-7.cpp
// func7-7.cpp 包括弧的相关信息类型的定义及对它的操作
typedef int VRType; // 定义权值类型为整型
struct InfoType // 弧的相关信息类型
{ VRType weight; // 权值
int ee,el; // (活动)最早开始时间,最迟开始时间
};
void InputArc(InfoType* &arc)