Inputs:[AorV]EitherAorVwhereAisaNxNadjacencymatrix,whereA(I,J)isnonzeroifandonlyifanedgeconnectspointItopointJNOTE:WorksforbothsymmetricandasymmetricAVisaNx2(orNx3)matrixofx,y,(z)coordinates[xyCorE]EitherxyorCorE(orE3)wherexyisaNx2(orNx3)matrixofx,y,(z)coordinates(equivalenttoV)NOTE:onlyvalidwithAasthefirstinputCisaNxNcost(perhapsdistance)matrix,whereC(I,J)containsthevalueofthecosttomovefrompointItopointJNOTE:onlyvalidwithAasthefirstinputEisaPx2matrixcontainingalistofedgeconnectionsNOTE:onlyvalidwithVasthefirstinputE3isaPx3matrixcontainingalistofedgeconnectionsinthefirsttwocolumnsandedgeweightsinthethirdcolumnNOTE:onlyvalidwithVasthefirstinput[SID](optional)1xLvectorofstartingpoints.Ifunspecified,thealgorithmwillcalculatetheminimalpathfromallNpointstothefinishpoint(s)(automaticallysetsSID=1:N)[FID](optional)1xMvectoroffinishpoints.Ifunspecified,thealgorithmwillcalculatetheminimalpathfromthestartingpoint(s)toallNpoints(automaticallysetsFID=1:N)Outputs:[costs]isanLxMmatrixofminimumcostvaluesfortheminimalpaths[paths]isanLxMcellcontainingtheshortestpatharrays[showWaitbar](optional)ascalarlogicalthatinitializesawaitbarifnonzeroNote:Iftheinputsare[A,xy]or[V,E],thecostisassumedtobe(andiscalculatedas)thepointtopointEuclideandistanceIftheinputsare[A,C]or[V,E3],thecostisobtainedfromeithertheCmatrixorfromtheedgeweightsinthe3rdcolumnofE3Example:%Calculatethe(allpairs)shortestdistancesandpathsusing[A,C]inputsn=7;A=zeros(n);xy=10*rand(n,2)tri=delaunay(xy(:,1),xy(:,2));I=tri(:);J=tri(:,[231]);J=J(:);IJ=I+n*(J-1);A(IJ)=1a=(1:n);b=a(ones(n,1),:);C=round(reshape(sqrt(sum((xy(b,:)-
2024/8/21 4:46:22 4KB 路由WSN
1
C#.net实现学生成绩管理系统namespace学生成绩管理系统{partialclassFormlogin{//////必需的设计器变量。
///privateSystem.ComponentModel.IContainercomponents=null;//////清理所有正在使用的资源。
//////如果应释放托管资源,为true;
否则为false。
protectedoverridevoidDispose(booldisposing){if(disposing&&(components!=null)){components.Dispose();}base.Dispose(disposing);}#regionWindows窗体设计器生成的代码//////设计器支持所需的方法-不要///使用代码编辑器修改此方法的内容。
///privatevoidInitializeComponent(){this.labeluser=newSystem.Windows.Forms.Label();this.textBoxuser=newSystem.Windows.Forms.TextBox();this.labelcode=newSystem.Windows.Forms.Label();this.textBoxcode=newSystem.Windows.Forms.TextBox();this.buttonin=newSystem.Windows.Forms.Button();this.buttonout=newSystem.Windows.Forms.Button();this.SuspendLayout();////labeluser//this.labeluser.Font=newSystem.Drawing.Font("宋体",10.5F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(134)));this.labeluser.Location=newSystem.Drawing.Point(31,50);this.labeluser.Name="labeluser";this.labeluser.Size=newSystem.Drawing.Size(55,26);this.labeluser.TabIndex=0;this.labeluser.Text="用户名";this.labeluser.TextAlign=System.Drawing.ContentAlignment.MiddleCenter;////textBoxuser//this.textBoxuser.Location=newSystem.Drawing.Point(126,55);this.textBoxuser.Name="textBoxuser";this.textBoxuser.Size=newSystem.Drawing.S
2024/3/13 12:24:54 257KB 学生成绩管理系统(C#)
1
在PVRNet:Point-ViewRelationNeuralNetworkfor3DShapeRecognition中使用的点云数据
2024/3/10 15:08:19 238.62MB 三维模型识别
1
PCL_BoundaryEstimation_Point散乱数据点云边界特征自动提取算法
2024/2/29 4:12:44 255KB PCL Cloud Boundary Point
1
效果可查看http://nongfuit.com/article_show/10118.aspx实现地图可移动方法缩小的鱼骨效果,并默认显示信息窗!使用非常的简单,只需设置经度纬度,信息窗口标题以及内容即可!varpoint=newBMap.Point(113.88582,22.555523);设置经度与纬度百度坐标拾取工具http://dev.baidu.com/wiki/static/map/API/tool/getPoint/代码:<html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"/><title>百度地图API调用示例-bywww.nongfuit.com</title><style>.iwTitle{color:#CC5522;font-size:14px;font-weight:bold;white-space:nowrap;}body{font-size:12px;}</style>[removed][removed]</head><body>农夫it站www.nongfuit.com为您提供各种实用的js网页特效,div+css模板,css后台模板,实用css菜单,广告代码以及各类it技术文章!</body></html>[removed]varmap=newBMap.Map("container");varpoint=newBMap.Point(113.88582,22.555523);varmarker=newBMap.Marker(point);varopts={width:200,//信息窗口宽度height:80,//信息窗口高度title:"农夫it站-百度地图API调用示例",//信息窗口标题}map.addControl(newBMap.NavigationControl());map.centerAndZoom(point,15);map.addOverlay(marker);varinfoWindow=newBMap.InfoWindow("地址:海秀路2021北门网址:http://www.nongfuit.com",opts);//创建信息窗口对象map.openInfoWindow(infoWindow,map.getCenter());//打开信息窗口[removed]
1
多旅行商matlab实验源码实现了三种多旅行商问题%MTSPOF_GAFixedOpenMultipleTravelingSalesmenProblem(M-TSP)GeneticAlgorithm(GA)%Findsa(near)optimalsolutiontoavariationofthe"open"M-TSPby%settingupaGAtosearchfortheshortestroute(leastdistanceneeded%foreachsalesmantotravelfromthestartlocationtounique%individualcitiesandfinallytotheendlocation)%%Summary:%1.Eachsalesmanstartsatthefirstpoint,andendsatthelast%point,buttravelstoauniquesetofcitiesinbetween(noneof%themclosetheirloopsbyreturningtotheirstartingpoints)%2.Exceptforthefirstandlast,eachcityisvisitedbyexactlyonesalesman%%Note:TheFixedStartistakentobethefirstXYpointandtheFixedEnd%istakentobethelastXYpoint%%Input:%XY(float)isanNx2matrixofcitylocations,whereNisthenumberofcities%DMAT(float)isanNxNmatrixofcity-to-citydistancesorcosts%SALESMEN(scalarinteger)isthenumberofsalesmentovisitthecities%MIN_TOUR(scalarinteger)istheminimumtourlengthforanyofthe%salesmen,NOTincludingthestartpointorendpoint%POP_SIZE(scalarinteger)isthesizeofthepopulation(shouldbedivisibleby8)%NUM_ITER(scalarinteger)isthenumberofdesirediterationsforthealgorithmtorun%SHOW_PROG(scalarlogical)showstheGAprogressiftrue%SHOW_RES(scalarlogical)showstheGAresultsiftrue%%Output:%OPT_RTE(integerarray)isthebestroutefoundbythealgorithm%OPT_BRK(integerarray)isthelistofroutebreakpoints(thesespecifytheindices%intotherouteusedtoobtaintheindividualsalesmanroutes)%MIN_DIST(scalarfloat)isthetotaldistancetraveledbythesalesmen%%Route/BreakpointDetails:%Ifthereare10citiesand3salesmen,apossibleroute/break%combinationmightbe:rte=[56942837],brks=[37]%
1
动态效果,黑客帝国#include#defineID_TIMER1#defineSTRMAXLEN25//一个显示列的最大长度#defineSTRMINLEN8//一个显示列的最小长度LRESULTCALLBACKWndProc(HWND,UINT,WPARAM,LPARAM);typedefstructtagCharChain//整个当作屏幕的一个显示列,这是个双向列表{structtagCharChain*prev;//链表的前个元素TCHARch;//一个显示列中的一个字符structtagCharChain*next;//链表的后个元素}CharChain,*pCharChain;typedefstructtagCharColumn{CharChain*head,*current,*point;intx,y,iStrLen;//显示列的开始显示的x,y坐标,iStrLen是这个列的长度intiStopTimes,iMustStopTimes;//已经停滞的次数和必须停滞的次数,必须停滞的次数是随机的}CharColumn,*pCharColumn;/***********************/........................................
2023/11/24 9:22:47 9KB 特效C语言
1
在使用赛灵思的浮点数IP的时候,可以根据这个pg060-floating-point.pdf这个文件来配置你的IP核的端口使能。
希望对大家有帮助。
2023/11/22 18:22:04 1.1MB f'f'
1
据说上班用excel的比word的工资高,用ppt的比用excel的工资高。
无论如何,在职场演讲汇报中,PPT扮演着至关重要的角色在它冒出来的日子里,PPT制造出来的糟糕设计比历史上任何其他数字工具都要多,可能只有微软的paint是个例外。
在本文我们将用10个超级技巧来解决糟糕的演示设计肆虐横行的问题,让你可以设计出更好看、更专业的演示。
此间你会看到Note&Point【1】上的一些出色的幻灯片设计,还有一些就是你们自己的作品。
让我们开始吧!这个网站的大部分内容主要针对专业设计师和开发人员,或者是起码对涉足这一领域感兴趣的人。
不过本文是写给做过PPT的人的。
无论你是学生、领导,还是自助团体,或
2023/10/23 17:13:17 2.36MB 怎样做出优秀扁平化设计风格
1
什么是消息消息是一个用于在组件和应用程序之间通讯的的方法。
消息之间的传递是点对点的。
任何终端之间都可以相互接受和发送消息。
并且每个终端都必须遵守如下的规则->创建消息->发送消息->接收消息->读取消息为什么要使用消息理由很简单,消息是一个分布式的低耦合通讯方案。
A发送一个消息到一个agent,B作为接受者去agent上获取消息。
但是A,B不需要同时到agent上去注册。
agent作为一个中转为A,B提供搞效率的通讯服务。
Java消息服务支持两种消息模型:Point-to-Point消息(P2P)和发布订阅消息(PublishSubscribemessaging,简称Pub/Sub)。
JMS规范并不要求供应商同时支持这两种消息模型,但开发者应该熟悉这两种消息模型的优势与缺点。
企业消息产品(或者有时称为面向消息的中间件产品)正逐渐成为公司内操作集成的关键组件。
这些产品可以将分离的业务组件组合成一个可靠灵活的系统。
除了传统的MOM供应商,企业消息产品也可以由数据库供应商和许多与网络相关的公司来提供。
Java语言的客户端和Java语言的中间层服务必须能够使用这些消息系统。
JMS为Java语言程序提供了一个通用的方式来获取这些系统。
JMS是一个接口和相关语义的集合,那些语义定义了JMS客户端如何获取企业消息产品的功能。
由于消息是点对点的,所以JMS的所有用户都称为客户端(clients)。
JMS应用由定义消息的应用和一系列与他们交互的客户端组成。
2023/8/1 10:35:47 634KB Java JMS 教程
1
共 32 条记录 首页 上一页 下一页 尾页
在日常工作中,钉钉打卡成了我生活中不可或缺的一部分。然而,有时候这个看似简单的任务却给我带来了不少烦恼。 每天早晚,我总是得牢记打开钉钉应用,点击"工作台",再找到"考勤打卡"进行签到。有时候因为工作忙碌,会忘记打卡,导致考勤异常,影响当月的工作评价。而且,由于我使用的是苹果手机,有时候系统更新后,钉钉的某些功能会出现异常,使得打卡变得更加麻烦。 另外,我的家人使用的是安卓手机,他们也经常抱怨钉钉打卡的繁琐。尤其是对于那些不太熟悉手机操作的长辈来说,每次打卡都是一次挑战。他们总是担心自己会操作失误,导致打卡失败。 为了解决这些烦恼,我开始思考是否可以通过编写一个全自动化脚本来实现钉钉打卡。经过一段时间的摸索和学习,我终于成功编写出了一个适用于苹果和安卓系统的钉钉打卡脚本。
2024-04-09 15:03 15KB 钉钉 钉钉打卡