LotSizingDataModel.Solver
2.0.1
Solver-independent modeling, execution, monitoring and adapter infrastructure.
Loading...
Searching...
No Matches
SolverProgressEventArgs.cs
Go to the documentation of this file.
1
using
System;
2
using
LotSizingDataModel.Solver.Monitoring
;
3
4
namespace
LotSizingDataModel.Solver.Events
;
5
6
/// <summary>
7
/// Provides solver progress information to .NET event
8
/// subscribers.
9
/// </summary>
10
public
sealed
class
SolverProgressEventArgs
:
11
EventArgs
12
{
13
/// <summary>
14
/// Initializes a new solver progress event.
15
/// </summary>
16
/// <param name="snapshot">
17
/// Current solver progress snapshot.
18
/// </param>
19
/// <exception cref="ArgumentNullException">
20
/// Thrown when <paramref name="snapshot"/> is
21
/// <see langword="null"/>.
22
/// </exception>
23
public
SolverProgressEventArgs
(
24
SolverProgressSnapshot
snapshot)
25
{
26
ArgumentNullException.ThrowIfNull(
27
snapshot);
28
29
Snapshot
=
30
snapshot;
31
}
32
33
/// <summary>
34
/// Gets the solver progress snapshot associated with the
35
/// event.
36
/// </summary>
37
public
SolverProgressSnapshot
Snapshot
38
{
39
get
;
40
}
41
}
LotSizingDataModel.Solver.Events.SolverProgressEventArgs.Snapshot
SolverProgressSnapshot Snapshot
Gets the solver progress snapshot associated with the event.
Definition
SolverProgressEventArgs.cs:38
LotSizingDataModel.Solver.Events.SolverProgressEventArgs.SolverProgressEventArgs
SolverProgressEventArgs(SolverProgressSnapshot snapshot)
Initializes a new solver progress event.
Definition
SolverProgressEventArgs.cs:23
LotSizingDataModel.Solver.Monitoring.SolverProgressSnapshot
Represents an immutable snapshot of the current progress of a mathematical optimization run.
Definition
SolverProgressSnapshot.cs:13
LotSizingDataModel.Solver.Events
Definition
SolverProgressEventArgs.cs:4
LotSizingDataModel.Solver.Monitoring
Definition
SolverProgressRecorder.cs:4
LotSizingDataModel.Solver
Events
SolverProgressEventArgs.cs
Generated by
1.17.0