FRAMES NO FRAMES

IlcTryRankLast

public IlcGoal IlcTryRankLast(IlcResourceConstraint rct)
Definition file: ilsched/srchgoal.h
Include file: <ilsched/search.h>

This function sets a choice point and then ranks the resource constraint rct to be last on its resource. In case of failure, rct is set to be not last on its resource. If the resource is not closed, then ranking rct to be not last has no influence on the latest end time of the activity of rct.

Ranking facilities are defined only for unary and state resources whose ranking information is available (see IlcResource::hasRankInfo). A resource constraint can be ranked if and only if its time extent is IlcFromStartToEnd.

For more information, see Ranking .

See Also: