FRAMES NO FRAMES

IlcActivityAltResConstraintTranslator

public IloTranslator< IlcActivity, IlcAltResConstraint > IlcActivityAltResConstraintTranslator(IloEnv)
public IloTranslator< IlcActivity, IlcAltResConstraint > IlcActivityAltResConstraintTranslator(IlcManager)
Definition file: ilsched/selector.h
Include file: <ilsched/ilsched.h>

This function returns a translator which implements a function (IloTranslator::operator) that, when given an alternative resource constraint, returns the activity of this alternative resource constraint. It is useful for transforming activity predicates/selectors into the corresponding alternative resource constraints predicates/selectors.

This functions exists with either an IloEnv or an IloSolver as argument.