董乐义,罗俊,程礼(西安空军工程大学工程学院,陕西西安710038):根据雨流计数法的规则和在实际中应用的体会,介绍了雨流计数法在程序中实现的具体方法。它适合用各种语言编写,在计取循环数时采用的“四点法”使程序的实现比用其他方法更加准确可靠,简单明了。:计数法;程序;循环:TP311.1;TP301.6:A:1002-6061(2004)03-0038-03RainFlowCountMethodandItsRealizationinProgrammingDONGLe-yi,LUOJun,CHENGLi(AirforceandEngineDepartmentofEngineeringCollegeofAirforceEngineeringUniversity,Xi'an710038,China)Abstract:Accordingtotherulesoftherain-flowcountmethodandtheexperiencesinpractice,thisarticleintroducesthemethodtorealizetherain-flowcountintheprogramming.Itcanbecompiledinvariouscomputerlanguages.AndtheFour-pointsmethodusedincountingtheloopnumbercanmaketherealizationofprogrammorereliable,simpleandclearthanothermethods.Keywords:countmethod;program;loop:2003-10-28:(1974-),,1,Mat-suiskiEndo,50,1,-90,,,,50,(),,-,:1),1,2,3,12)(),()()3),,4),,,5)382004年第24卷第3期,22.1,1),,(),E(n),F(n),ij()(2),,,,,(3),(),E(i)(),E(i)();22),3:=(-)$%,(),$,,,,()2.2,,:1),,,,4,,abbc(),E[i]E[i-1],E[i],,5,c=0c=b,,ûE(i-1)-E(i)ûûE(i-1)-E(i-2)û;s1,5s1,39,5;s452)(),-,,(),,,,,;-,,,,,,,3)(),31),2),[1],.[D].:,2002.[2],,.[J].,1999,(11).[3],.VC++[M].:,2002.第四届中国国际国防电子展览会胜利闭幕(CIDEX2004)200452528260,:GPS//,,,,,402004年第24卷第3期