-
Notifications
You must be signed in to change notification settings - Fork 2
Data Structure
markkvdb edited this page Mar 10, 2017
·
1 revision
Depot-vehicle combination:
- Route
- Deliver quantities
- Total deliver quantity
- Route cost
- Travel time
Customer:
- Total deliver quantity
- List of routes with:
- Depot
- Vehicle type
- Route index
- Deliver quantity
Data members:
- List of vehicles
- Leftover inventory
Functions:
Data members:
- Type
- Route
- Leftover capacity
- Leftover travel time
Functions:
- Route cost
Data members:
- Ordered list of customers (index)
- Delivery quantity
- Total delivery quantity
- Service time
- Travel distance
Functions:
Data members:
- Demand
- Total delivery quantity
- Depot
Data members:
- Best solution
- Current solution
- Current solution 2
- Best feasible solution
- Random number generator
- Penalty parameter
Functions:
- Run
- Initial solution
- Perturbation
- Local search