From 140fc9d33a88c95fc5876e58633cebda7e8e8391 Mon Sep 17 00:00:00 2001 From: Kai Martins-Turner Date: Fri, 15 Nov 2024 15:25:59 +0100 Subject: [PATCH] comments after Kai/Kai mtg --- src/main/java/org/matsim/freight/logistics/LSPUtils.java | 2 ++ .../ExampleTwoLspsGroceryDeliveryMultipleChains.java | 1 + 2 files changed, 3 insertions(+) diff --git a/src/main/java/org/matsim/freight/logistics/LSPUtils.java b/src/main/java/org/matsim/freight/logistics/LSPUtils.java index 2821a8a0..e40c44e9 100644 --- a/src/main/java/org/matsim/freight/logistics/LSPUtils.java +++ b/src/main/java/org/matsim/freight/logistics/LSPUtils.java @@ -237,6 +237,8 @@ public LogisticChainBuilder addTracker(LSPSimulationTracker track } public LogisticChain build() { + //TODO: Prüfe of das alle Elemente Verbunden sind (in irgendeiner Art). Plus Hinweis auf die Änderung. + return new LogisticChainImpl(this); } } diff --git a/src/main/java/org/matsim/freight/logistics/examples/multipleChains/ExampleTwoLspsGroceryDeliveryMultipleChains.java b/src/main/java/org/matsim/freight/logistics/examples/multipleChains/ExampleTwoLspsGroceryDeliveryMultipleChains.java index 5c6a4c0d..60ca486f 100644 --- a/src/main/java/org/matsim/freight/logistics/examples/multipleChains/ExampleTwoLspsGroceryDeliveryMultipleChains.java +++ b/src/main/java/org/matsim/freight/logistics/examples/multipleChains/ExampleTwoLspsGroceryDeliveryMultipleChains.java @@ -370,6 +370,7 @@ private static LogisticChain createTwoEchelonChain(Scenario scenario, String lsp mainCarrierElement.connectWithNextElement(hubElement); hubElement.connectWithNextElement(distributionCarrierElement); + //TODO: Hier das Verbinden einfügen und in der Reihenfolge ist es. KMT Nov'24 hubChain = LSPUtils.LogisticChainBuilder.newInstance(Id.create("hubChain", LogisticChain.class)) .addLogisticChainElement(mainCarrierElement)