/////////////////// Sample Network ///////////////////
// //
// A B Fruit Line: A, B, T, G, P //
// │ │ //
// └─┬─┘ one-way: T→P→G→T //
// │ //
// ┌───T───┐ forks: A B ┌T┐ //
// │ │ │ └T┘ G P //
// │ ┌─┴─┐ │ //
// │ ↑ ↓ │ Veggie Line: T, L, O, C, S //
// │ │ │ │ //
// │ G─←─P │ cross: O //
// │ │ //
// L───────O─────C //
// │ //
// │ //
// S //
// //
/////////////////// Sample Trips /////////////////////
// //
// notes trip 'Apple' 'Pear' ⍝ simple trip //
// notes trip 'Apple' 'Banana' ⍝ via fork //
// notes trip 'Grape' 'Pear' ⍝ via 1-way //
// notes trip 'Apple' 'Onion' ⍝ line change //
// notes trip 'Cabbage' 'Spinach' ⍝ via cross //
// notes trip 'Tomato' 'Cabbage' ⍝ avoid cross //
// notes trip 'S' 'C' 'G' 'A' 'B' ⍝ grand tour //
// //
//////////////////////////////////////////////////////
Fruit
Apple
∊ Tomato // fork
Banana
Fruit
↓ Grape // one-way section
∊↓ Tomato // with fork
↓ Pear
Grape
Veggie
Spinach
+ Onion // cross
Tomato
Lettuce
+ Onion // cross
Cabbage
/////////////////////////
// Back to: contents //
/////////////////////////