跳至主内容
框架 无框架

IloPulse

public 'IloCumulFunctionExpr'IloPulse(const 'IloEnv'环境, 'IloInt'启动, 'IloInt'最后, 'IloInt' 'v' )
定义文件: ilconcert/ilosmodel.h
初级累积函数

此函数返回一个基本累加函数表达式,在 "start和 "end之间等于 "v,其他地方等于 "0

有关累加函数表达式的更多信息,请参阅CP 优化器中的累加函数概念。


IloPulse

publicIloCumulFunctionExpr IloPulse(constIloIntervalVar a,IloInt v)
定义文件: ilconcert/ilosmodel.h
初级累积函数

该函数返回一个基本累加函数表达式,当区间变量 "a存在时,在区间变量 "a的起点和终点之间等于 "v,其他地方等于 "0。 当区间变量 "a不存在时,函数为常零函数。

有关累加函数表达式的更多信息,请参阅CP 优化器中的累加函数概念。


IloPulse

publicIloCumulFunctionExpr IloPulse(constIloIntervalVar a,IloInt vmin,IloInt vmax)
定义文件: ilconcert/ilosmodel.h
初级累积函数

This function returns an elementary cumul function expression that, whenever interval variable a is present, is equal to a value v such that vmin <= v <= vmax everywhere between the start and the end of interval variable a and equal to 0 everywhere else. The choice of the value v in the range [vmin,vmax] is a decision of the problem. 当区间变量 "a不存在时,函数为常零函数。

有关累加函数表达式的更多信息,请参阅CP 优化器中的累加函数概念。