-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsource.txt
48 lines (45 loc) · 1.94 KB
/
source.txt
1
/////////////////// 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 BananaFruit ↓ Grape // one-way section ∊↓ Tomato // with fork ↓ Pear GrapeVeggie Spinach + Onion // cross Tomato Lettuce + Onion // cross Cabbage