Overview | Group | Tree | Graph | Index | Concepts |
The IlcSchedulerPrintTrace
class is used to get printed
messages of every trace event. To get those events, the manager must be in
trace mode. See IloSolver::setTraceMode
in the IBM ILOG Solver
Reference Manual.
Example
solver.setTraceMode(IlcTrue); IlcSchedulerPrintTrace trace(schedule); trace.traceAllActivities(); trace.traceAllResources();
See Also:
IlcSchedulerTrace, IlcSchedulerTraceFilter
Constructor Summary | |
---|---|
public | IlcSchedulerPrintTrace() |
public | IlcSchedulerPrintTrace(IlcSchedulerPrintTraceI * impl) |
public | IlcSchedulerPrintTrace(IlcSchedule s, IlcBool traceFails=IlcTrue, const char * name=0) |
Method Summary | |
---|---|
public IlcSchedulerPrintTraceI * | getImpl() const |
public void | operator=(const IlcSchedulerPrintTrace & h) |
public void | resetFilter() const |
public void | setFilter(IlcSchedulerTraceFilter filter) const |
Inherited Methods from IlcSchedulerTrace |
---|
trace, trace, trace, trace, trace, trace, trace, traceAllActivities, traceAllFailures, traceAllResources |
Constructor Detail |
---|
This constructor creates an instance of IlcSchedulerPrintTrace
for the IlcSchedule
given as argument. Member functions of the
base class IlcSchedulerTrace
like
IlcSchedulerTrace::traceAllActivities
will act on
the objects of this instance of IlcSchedule
.
If the value of traceFails
is IlcTrue
(the default), then all the
failures will be traced. Otherwise, only failures triggered by Solver
variables of traced Scheduler objects will be displayed. A name can be given to the trace.
Method Detail |
---|
This member function resets the filter associated with the calling object. After the filter is reset, all events will be displayed.
This member function associates the specified filter to the calling object.
Only events for which the function given as argument returns
IlcTrue
will be displayed.