nl.tudelft.simulation.examples.dsol.mm1queue
Class Customer

java.lang.Object
  extended by nl.tudelft.simulation.examples.dsol.mm1queue.Customer

public class Customer
extends Object

A truly basic customer for the DSOL framework.
(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
2.0 21.09.2003
Author:
Peter Jacobs

Constructor Summary
Customer()
          constructs a new Customer
 
Method Summary
 double getEntranceTime()
          returns the time this customer entered the queue
 void setEntranceTime(double time)
          sets the entrance time of the customer to the queue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Customer

public Customer()
constructs a new Customer

Method Detail

setEntranceTime

public void setEntranceTime(double time)
sets the entrance time of the customer to the queue

Parameters:
time - the entranceTime

getEntranceTime

public double getEntranceTime()
returns the time this customer entered the queue

Returns:
double the entranceTime


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.