001
002/* *********************************************************************** *
003 * project: org.matsim.*
004 * NetsimEngine.java
005 *                                                                         *
006 * *********************************************************************** *
007 *                                                                         *
008 * copyright       : (C) 2019 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 /**
023 * 
024 */
025package org.matsim.core.mobsim.qsim.qnetsimengine;
026
027import org.matsim.api.core.v01.Id;
028import org.matsim.api.core.v01.network.Link;
029import org.matsim.api.core.v01.population.Person;
030import org.matsim.core.mobsim.framework.MobsimAgent;
031import org.matsim.core.mobsim.qsim.interfaces.MobsimVehicle;
032import org.matsim.core.mobsim.qsim.interfaces.NetsimNetwork;
033
034/**
035 * @author kainagel
036 *
037 */
038public interface NetsimEngine {
039
040        void registerAdditionalAgentOnLink(MobsimAgent planAgent);
041
042        MobsimAgent unregisterAdditionalAgentOnLink(Id<Person> agentId, Id<Link> linkId);
043
044        void addParkedVehicle(MobsimVehicle veh, Id<Link> linkId);
045
046        NetsimNetwork getNetsimNetwork();
047
048}