FRAMES NO FRAMES

IlcActivityResourceConstraintTranslator

public IloTranslator< IlcActivity, IlcResourceConstraint > IlcActivityResourceConstraintTranslator(IloEnv)
public IloTranslator< IlcActivity, IlcResourceConstraint > IlcActivityResourceConstraintTranslator(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 a resource constraint, returns the activity of this resource constraint. It is useful for transforming activity predicates and evaluators into the corresponding resource constraints predicates and evaluators.

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