Comprehensive reference documentation for all data structures in the VRP toolkit project...
Quick access to all data structure definitions in the VRP toolkit. This skill saves tokens by providing pre-documented structures instead of reading source code repeatedly.
Choose the appropriate reference based on what you're working with:
Problem Layer → problem_layer.md
Algorithm Layer → algorithm_layer.md
Data Layer → data_layer.md
Runtime Formats → runtime_formats.md
| Question | Reference | Section |
|---|---|---|
| "What attributes does Instance have?" | problem_layer.md | Instance |
| "How are routes represented?" | runtime_formats.md | Route Representation |
| "What's in an OSMnx Graph?" | data_layer.md | Graph (NetworkX) |
| "How do I configure ALNS?" | algorithm_layer.md | ALNSConfig |
| "What's the structure of a Node?" | problem_layer.md | Node |
| "How are time windows stored?" | runtime_formats.md | Time Window Representation |
| "How do destroy operators work?" | algorithm_layer.md | DestroyOperator |
| "What's in a distance matrix?" | runtime_formats.md | Distance Matrix |
| "How do I work with OSMnx nodes?" | data_layer.md | GeoDataFrame |
| "What's a Solution object?" | problem_layer.md | Solution |
| Type | Reference | Description |
|---|---|---|
Instance |
problem_layer.md | Problem definition |
Solution |
problem_layer.md | Solution with routes |
Node |
problem_layer.md | Location/customer |
Route |
runtime_formats.md | List[int] format |
TimeWindow |
runtime_formats.md | Tuple[float, float] format |
ALNSConfig |
algorithm_layer.md | Algorithm configuration |
Operator |
algorithm_layer.md | Destroy/repair/local search |
nx.MultiDiGraph |
data_layer.md | OSMnx network graph |
np.ndarray |
runtime_formats.md | Distance/time matrices |
GeoDataFrame |
data_layer.md | OSMnx nodes/edges |
Trigger this skill when:
Size: ~300 lines Contains:
Use when: Defining problems, creating instances, working with solutions
Size: ~350 lines Contains:
Use when: Implementing algorithms, understanding operators, configuring ALNS
Size: ~300 lines Contains:
Use when: Loading data, OSMnx integration, working with benchmarks
Size: ~400 lines Contains:
List[int] with examplesTuple[float, float]Use when: Understanding practical code representations, writing/reading routes
Question: "I see route = [0, 5, 3, 7, 0] in the code. What does this mean?"
Action: Load runtime_formats.md → Route Representation
Answer:
0 = depot (start and end)[5, 3, 7] = customers visited in orderQuestion: "How do I create a PDPTW instance?"
Action: Load problem_layer.md → PDPTWInstance
Answer:
instance = PDPTWInstance(
nodes=node_list,
battery_capacity=100.0,
max_route_time=480.0,
vehicle_capacity=50.0
)
Question: "What parameters can I configure for ALNS?"
Action: Load algorithm_layer.md → ALNSConfig
Answer: See all parameters with defaults, explanations, and usage example.
Question: "What attributes does an OSMnx node have?"
Action: Load data_layer.md → Node Attributes
Answer: y (lat), x (lon), osmid, street_count, etc.
This skill is referenced by:
When other skills need data structure information, they reference this skill instead of reading source code.
This reference should be updated when:
Keep this as the single source of truth for data structure documentation.