step_function_expressions

Classes

AlwaysIn([args, cumul_func, bounds, times])

An expression representing the constraint that a cumulative function is required to take values within a tuple of bounds over a specified time interval.

CumulativeFunction(args[, nargs])

A sum of elementary step functions (Pulse and Step), defining a step function over time.

NegatedStepFunction(args)

The negated form of an elementary step function: That is, it represents subtracting the elementary function's (nonnegative) height rather than adding it.

Pulse([args, interval_var, height])

A step function specified by an IntervalVar and an integer height that has value 0 before the IntervalVar's start_time and after the IntervalVar's end time and that takes the value specified by the 'height' during the IntervalVar.

Step(time, height)

A step function specified by a time point and an integer height that has value 0 before the time point and takes the value specified by the 'height' after the time point.

StepAt(args)

StepAtEnd(args)

StepAtStart(args)

StepBase(args)

StepFunction()

The base class for the step function expression system.