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.
1
namespace
LotSizingDataModel.Instance.Descriptors.Network
;
2
3
/// <summary>
4
/// Describes one node of the physical supply-flow graph.
5
/// </summary>
6
public
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
}
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor
Describes one node of the physical supply-flow graph.
Definition
SupplyNetworkNodeDescriptor.cs:7
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.IsDeclared
bool IsDeclared
Definition
SupplyNetworkNodeDescriptor.cs:11
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.OutDegree
int OutDegree
Definition
SupplyNetworkNodeDescriptor.cs:13
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.IsSource
bool IsSource
Definition
SupplyNetworkNodeDescriptor.cs:14
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.Kind
required SupplyNetworkNodeKind Kind
Definition
SupplyNetworkNodeDescriptor.cs:9
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.ReferenceId
int ReferenceId
Definition
SupplyNetworkNodeDescriptor.cs:10
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.InDegree
int InDegree
Definition
SupplyNetworkNodeDescriptor.cs:12
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.IsSink
bool IsSink
Definition
SupplyNetworkNodeDescriptor.cs:15
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeDescriptor.Key
required string Key
Definition
SupplyNetworkNodeDescriptor.cs:8
LotSizingDataModel.Instance.Descriptors.Network
Definition
DirectedSupplyNetworkDescriptor.cs:1
LotSizingDataModel.Instance.Descriptors.Network.SupplyNetworkNodeKind
SupplyNetworkNodeKind
Identifies one physical facility category in the supply-flow graph.
Definition
SupplyNetworkNodeKind.cs:7
LotSizingDataModel.Instance
Descriptors
Network
SupplyNetworkNodeDescriptor.cs
Generated by
1.17.0