| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Incrementer

Page history last edited by PBworks 18 years ago


 

Incrementer

(extends Object)


Object summary

 

This object is generated to help, Effect. It provides a new incremented value at each step.


Constructor

 

Incrementer(intStart,intEnd,intTotalStep,expFactor)

 

parameters

intStart - The starting value.

intEnd - The value to reach after inTotalSteps steps are taken.

intTotalStep - Total number of steps.

expFactor - Exponential smoothing factor. It can be any double value but its useful range is around 0.5 and 2.5. You may even give it negative values.

 

comments

Creates a new Incrementer instance.


Methods

 

Incrementer.next()

 

returns

The next value if total number of steps is not exceeded, null otherwise.

 

comments.

Gets the next step value.


See Also

 


Usage Examples

 


Resources

 

By looking at the chart below you can have a better idea how different exponential smoothing factors affect generation of step values:

 

Comments (0)

You don't have permission to comment on this page.