Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kt86 committed Nov 20, 2023
1 parent fedadaf commit c28c2d1
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 81 deletions.
11 changes: 0 additions & 11 deletions src/main/java/org/matsim/freight/logistics/LSPModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ public void install() {
bind( CarrierAgentTracker.class ).in( Singleton.class );
addEventHandlerBinding().to( CarrierAgentTracker.class );

// Multibinder<FreightEventCreator> freightEventCreatorMultibinder = Multibinder.newSetBinder( this.binder(), FreightEventCreator.class );
// for( FreightEventCreator freightEventCreator : FreightEventCreatorUtils.getStandardEventCreators() ){
// freightEventCreatorMultibinder.addBinding().toInstance( freightEventCreator );
// }
//
// Multibinder<LspEventCreator> logisticEventCreatorMultibinder = Multibinder.newSetBinder( this.binder(), LspEventCreator.class );
// for( LspEventCreator logisticEventCreator : LspEventCreatorUtils.getStandardEventCreators() ){
// logisticEventCreatorMultibinder.addBinding().toInstance( logisticEventCreator );
// }

// this switches on certain qsim components:
QSimComponentsConfigGroup qsimComponents = ConfigUtils.addOrGetModule(getConfig(), QSimComponentsConfigGroup.class);
List<String> abc = qsimComponents.getActiveComponents();
Expand Down Expand Up @@ -113,7 +103,6 @@ protected void configureQSim() {

// the scorers are necessary to run a zeroth iteration to the end:
bind( CarrierScoringFunctionFactory.class ).to( CarrierScoringFactoryDummyImpl.class );
// bind( CarrierScoringFunctionFactory.class ).to( CarrierScoringFunctionFactoryImpl.class );
bind( LSPScorerFactory.class ).to( LSPScoringFunctionFactoryDummyImpl.class );

// for iterations, one needs to replace the following with something meaningful. If nothing else, there are "empty implementations" that do nothing. kai, jul'22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public final class HandlingInHubStartsEvent extends AbstractLspEvent {
private final Id<LSPResource> hubId;
private final double expHandlingDuration;

//TODO: Add more information about the handling, e.g. expected duration of handling. KMT after mtg with kn, jul' 23

public HandlingInHubStartsEvent(double time, Id<Link> linkId, Id<LSPShipment> lspShipmentId, Id<LSPResource> hubId, double expHandlingDuration) {
super(time, linkId, lspShipmentId);
this.hubId = hubId;
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ private TransshipmentHubResource() { // Do not instantiate. (removable once this
TransshipmentHubTourEndEventHandler eventHandler = new TransshipmentHubTourEndEventHandler(this, scenario);
transshipmentHubScheduler.setTransshipmentHubTourEndEventHandler(eventHandler );
this.clientElements = builder.getClientElements();
// this.addSimulationTracker(eventHandler); // Is already registered in the eventHandler itself --> Is even that necessary there? KMT Nov 23
}

@Override
Expand Down

0 comments on commit c28c2d1

Please sign in to comment.