Procedure HistogramAddObservation(histogram\_id, value)

HistogramAddObservation

The procedure HistogramAddObservation adds a new observation to a histogram that was previously created through the procedure HistogramCreate.

HistogramAddObservation(
     histogram_id,         ! (input) a scalar parameter
     value                 ! (input) a scalar value
     )

Arguments

histogram_id

A scalar value representing a histogram that was previously created using the HistogramCreate procedure.

value

The value of a new observation that should be added to the histogram.

Return Value

The procedure returns 1 if the new observation is added successfully, or 0 otherwise.

See also

The procedure HistogramAddObservations, HistogramCreate. Histogram support in AIMMS is discussed in full detail in Creating Histograms of the Language Reference.