LotSizingDataModel.Instance 2.0.1
Lot-sizing instance representation, descriptors and problem characterization.
Loading...
Searching...
No Matches
SupplyNetworkNodeDescriptor.cs
Go to the documentation of this file.
2
3/// <summary>
4/// Describes one node of the physical supply-flow graph.
5/// </summary>
6public sealed class SupplyNetworkNodeDescriptor
7{
8 public required string Key { get; init; }
9 public required SupplyNetworkNodeKind Kind { get; init; }
10 public int ReferenceId { get; init; }
11 public bool IsDeclared { get; init; } = true;
12 public int InDegree { get; init; }
13 public int OutDegree { get; init; }
14 public bool IsSource => InDegree == 0;
15 public bool IsSink => OutDegree == 0;
16}
SupplyNetworkNodeKind
Identifies one physical facility category in the supply-flow graph.