Skip to content

Instantly share code, notes, and snippets.

@rsalaza4
Created December 25, 2021 16:12
Show Gist options
  • Select an option

  • Save rsalaza4/8e15391359b5a7d530a11635270a5092 to your computer and use it in GitHub Desktop.

Select an option

Save rsalaza4/8e15391359b5a7d530a11635270a5092 to your computer and use it in GitHub Desktop.
# Import required libraries
import time
import datetime
import numpy as np
import pandas as pd
# Define the customer class (i.e., the agent)
class customer:
def __init__(self):
self.customer_number = 0
self.time_arrived_to_system = 0
self.time_arrived_to_queue = 0
self.time_start_order_placing = 0
self.time_end_order_placing = 0
self.time_order_delivered = 0
self.time_exit_system = 0
self.total_time_placing_order = 0
self.total_time_waiting_for_order = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment