这是用邻接链表作存储结构的图类源代码,下面是图类的声明部分:structArcNode//弧节点结构{intadjvex;ArcNode*nextarc;};structVexNode//顶点结构{intvexdata;ArcNode*firstarc;};//邻接链表图类的声明。
classGraph{private:staticstringstr;bool*visited;//是否访问标志VexNode*adjlist;//邻接链表数组intn;//已有顶点个数intmax;//可容纳的最大顶点个数voiddfs0(intv0,voidvisit(int&v));voidbfs0(intv0,voidvisit(int&v));public:Graph(intl);//建立一个最大顶点数为l的空图Graph(VexNodeadjl[],intl);//构造一个由adj1表示的顶点个数为l的邻接链表对象Graph(intvex[],intarc[],intn);//以vex[]为顶点集,arc[]表示的邻接矩阵建立图voidinstVex(intdata);//插入顶点voidinstArc(intv1,intv2);//插入边stringdfs(intv0,voidvisit(int&v));//深度优先遍历stringbfs(intv0,voidvisit(int&v));//广度优先遍历staticvoidfunc1(int&v);//遍历时执行的函数staticvoidfunc2(int&v);//遍历时执行的函数staticstringinttostr(intv);};
2024/6/29 17:13:18 13KB 邻接链表
1
KnowledgeGraphCompletionAReview.pdf
2024/6/27 16:44:36 2.73MB 知识图谱
1
"Thisimportantvolumeisthefirstpartofatwo-parttextbook(thesecondpartisentitledConservationlawsandellipticequations).Thetextincludesinterestinghomeworkproblemsthatimplementdifferentaspectsofmostoftheschemesdiscussed.Theimplementationaspectofthistextincludesalargeamountofcomputing.Otherusefulaspectsofcomputingincludedinthisvolumearesymboliccomputingandtheuseofgraphicsforanalysis.Prerequisitessuggestedforusingthisbookmightincludeonesemesterofpartialdifferentialequationsandsomeprogrammingcapability.Thisbookwillbeagoodreferencetextforstudents."--MATHEMATICALREVIEWS
2024/6/27 8:31:32 2.74MB CFD FDM PDE
1
LetGbeaplanargraphwithmaximumdegreeΔ≥8andwithoutchordal.5-cycles.Thenχl(G)=Δandχl(G)=Δ+1.
2024/6/19 18:14:55 344KB 研究论文
1
基于mxgraph的流程建模js框架,部分实现了fireflow的建模环境
2024/6/19 8:21:32 1.03MB mxgraph 流程建模 js
1
Thishands-onguidecutsshortthepreambleandgetsstraighttothepoint–actuallycreatinggraphics,insteadofjusttheoreticallearning.Eachrecipeisspecificallytailoredtosatisfyyourappetiteforproducingreal-time3-DgraphicsusingGLSL4.0.IfyouareanOpenGLprogrammerlookingtousethemodernfeaturesofGLSL4.0tocreatereal-time,three-dimensionalgraphics,thenthisbookisforyou.FamiliaritywithOpenGLprogramming,alongwiththetypical3Dcoordinatesystems,projections,andtransformationsisassumed.ItcanalsobeusefulforexperiencedGLSLprogrammerswhoarelookingtoimplementthetechniquesthatarepresentedhere.
2024/6/17 21:28:51 7.28MB OpenGL GLSL
1
功能安全分析软件IsographReliabilityWorkbench14.0激活版
2024/6/16 16:33:10 150B 功能安全
1
用蛮力法求解旅行商问题voidmain(){ intN; coutGraph[i][j]; } salesman_problem(N,Graph,T);}
2024/6/15 15:29:32 2KB gth
1
AlgebraicGraphTheory-Springer(2001).pdfS.Axler
2024/6/15 6:47:41 19.38MB graph theory
1
贪吃蛇俄罗斯方块扫雷双缓冲绘图java2dGraphics2D绘图包含源代码、编译字节码、jar打包可直接运行(需要java虚拟机)
1
共 566 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡