Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Link: Non-linear constraints
authorBruno Donassolo <bruno.donassolo@inria.fr>
Mon, 5 Jul 2021 12:36:12 +0000 (14:36 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Thu, 15 Jul 2021 09:31:49 +0000 (11:31 +0200)
commitfcb729916269f63a4c9d031d5be35aff3774e769
tree229eab05713054314e48c337ec28eaa54bf25408
parent36fccba5f4f2b4c32e97c4e56911eb5bd804f7c9
Link: Non-linear constraints

Add non-linear constraints to links.
Similar to disks, user can use a callback to dynamically change the
link's capacity based on the number of flows sharing it.
Only traffic explicit generated by the user is considered as active
flow, so cross-traffic communications aren't taken into account.

Extend s4u::Link::sharing_policy
- New type: NONLINEAR

Example: examples/cpp/network-nonlinear/
18 files changed:
MANIFEST.in
examples/cpp/CMakeLists.txt
examples/cpp/io-degradation/s4u-io-degradation.cpp
examples/cpp/network-nonlinear/s4u-network-nonlinear.cpp [new file with mode: 0644]
examples/cpp/network-nonlinear/s4u-network-nonlinear.tesh [new file with mode: 0644]
include/simgrid/s4u/Link.hpp
src/kernel/resource/DiskImpl.cpp
src/kernel/routing/WifiZone.cpp
src/s4u/s4u_Link.cpp
src/surf/LinkImpl.cpp
src/surf/LinkImpl.hpp
src/surf/LinkImplIntf.hpp
src/surf/SplitDuplexLinkImpl.cpp
src/surf/SplitDuplexLinkImpl.hpp
src/surf/network_cm02.cpp
src/surf/network_ns3.cpp
src/surf/network_ns3.hpp
src/surf/ptask_L07.cpp