Package jline.api.lsn
Class LsnMaxMultiplicityKt
-
- All Implemented Interfaces:
public final class LsnMaxMultiplicityKt
-
-
Method Summary
Modifier and Type Method Description final static Matrix
lsnMaxMultiplicity(LayeredNetworkStruct lsn)
Computes the maximum multiplicity (number of concurrent instances) that can be sustained by each task in a layered network while respecting capacity constraints. -
-
Method Detail
-
lsnMaxMultiplicity
final static Matrix lsnMaxMultiplicity(LayeredNetworkStruct lsn)
Computes the maximum multiplicity (number of concurrent instances) that can be sustained by each task in a layered network while respecting capacity constraints.
This function uses flow analysis based on Kahn's topological sorting algorithm to determine the maximum sustainable throughput for each task, considering both the incoming flow and the multiplicity constraints.
- Parameters:
lsn
- The layered network structure containing task dependencies and constraints- Returns:
Matrix of maximum multiplicities for each task in the network
-
-
-
-