java.lang.Object
nl.tudelft.simulation.dsol.demo.des.experiment.Entity

public class Entity extends Object
Entity class for M/M/1 Discrete Event Simulation (DES) model example. See DES Model Example for more information.

Copyright (c) 2023-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.

Author:
Alexander Verbraeck
  • Constructor Details

    • Entity

      public Entity(int id, double createTime)
      Parameters:
      id - entity id number
      createTime - time of creation for statistics
  • Method Details

    • getCreateTime

      public double getCreateTime()
      Returns:
      time of creation for statistics
    • getId

      public int getId()
      Returns:
      entity id number
    • toString

      public String toString()
      Overrides:
      toString in class Object