雨流计数法及其在程序中的具体实现

董乐义

,

罗俊

,

程礼

(

西安空军工程大学工程学院

,

陕西

西安

710038)

摘 要

:

根据雨流计数法的规则和在实际中应用的体会

,

介绍了雨流计数法在程序中实现的具体方

法。它适合用各种语言编写

,

在计取循环数时采用的“

四点法”

使程序的实现比用其他方法更加准确可靠

,

简单明了。

关键词

:

计数法

;

程序

;

循环

中图分类号

:

T

P

311.

1;

T

P

301.

6

文献标识码

:

A

文章编号

:

1002-

6061(

2004)

03-

0038-

03

Rain

Flow

Count

Method

and

Its

Realization

in

Programming

DONG

L

e-

y

i,

L

U

O

Jun,

CHENG

L

i

(

Airfor

ce

and

E

ngine

Department

of

En

gineering

College

of

Airforce

Engineer

ing

U

nivers

ity,

Xi'an

710038,

Ch

ina)

Abstract

:

Acco

rding

to

t

he

rules

o

f

the

rain

-

flo

w

co

unt

met

ho

d

and

the

exper

iences

in

pract

ice

,

this

art

icle

int

roduces

t

he

met

hod

t

o

realize

t

he

rain-

f

low

count

in

t

he

prog

ramm

ing.

It

can

be

compiled

in

various

com

put

er

lang

uag

es.

And

the

F

our

-

point

s

m

et

hod

used

in

co

unt

ing

t

he

loo

p

number

can

make

t

he

realizat

ion

of

prog

ram

mor

e

reliable

,

simple

and

clear

t

han

o

ther

methods

.

Key

words

:

count

met

ho

d

;

pro

gram

;

loo

Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐