001/* 002 * *********************************************************************** * 003 * * project: org.matsim.* 004 * * ScoreStatsModule.java 005 * * * 006 * * *********************************************************************** * 007 * * * 008 * * copyright : (C) 2014 by the members listed in the COPYING, * 009 * * LICENSE and WARRANTY file. * 010 * * email : info at matsim dot org * 011 * * * 012 * * *********************************************************************** * 013 * * * 014 * * This program is free software; you can redistribute it and/or modify * 015 * * it under the terms of the GNU General Public License as published by * 016 * * the Free Software Foundation; either version 2 of the License, or * 017 * * (at your option) any later version. * 018 * * See also COPYING, LICENSE and WARRANTY file * 019 * * * 020 * * *********************************************************************** 021 */ 022 023package org.matsim.analysis; 024 025import com.google.inject.Singleton; 026import org.matsim.core.controler.AbstractModule; 027 028public class ModeStatsModule extends AbstractModule { 029 @Override 030 public void install() { 031 bind(ModeStatsControlerListener.class).in(Singleton.class); 032 addControlerListenerBinding().to(ModeStatsControlerListener.class); 033 } 034}