Scripting trip to Poland




# Theme of Script:
[Changing edge conditions]
Traveling from X to Y and back to X ; where X= Germany
Y= Poland


# Targets:
T1: Starting Date of trip
[28th April, 2008]
T2: Back to Xd ; where Xd= Dessau
[7th May, 2008]

# Traveling modes:
[α, β] ; where α=Rent a Van, β=Walk]

# Starting point of trip:
[Xd]

# End point of trip:
[Xd]


# Generate Lists:
L1: List Countries to travel
[X, Y,Z] ; where X= Germany, Y= Poland, Z= Ukraine

L2: List cities of X along Y border
[x1, x2, x3,........................................................]

L3: List cities of Y along X border
[y1, y2, y3 ………………………………….…….]

L4: List cites of Y which satisfy criteria ; where criteria=historical importance, monuments
[p1, p2, p3 ……………………………………….]

L5: List High Ways in X
[Xa1, Xa2, Xa3, …………………………..…….]

L6: List High Ways in Y
[Ya1, Ya2, Ya3, …………………………..…….]

L7: List cites from High Way a2 in Y
[a2.1, a2.2, a2.3, ………………………………]

L8: List of cities from high way a4 in Y
[a4.1, a4.2, a4.3, ………………………………]


# Attributes: R,R & R

Routes:
Start from Xd
Reached to x1 using L7 by α;
else ignore
Move along L2 using L6 that satisfy criteria
else ignore
Use L6 and L8 that satisfy L4
else ignore
also stop to cities at L8 using L6 that satisfy criteria.
else ignore
If L8 ends to certain location take the shortest possible path to reach Yw using L6.
Now move along L7 using L6
else ignore
Use L6 where necessary without any condition

Routine Activity:
Use β from city centre to the old city wall using L6
Stay 30 minutes there
If doesn’t exit go to historical monuments using L6
also if feel tired take a break and have lunch.
Else, nothing important within 4 km take a van to reach required space.
If it’s getting dark move to the city where hotel is booked.
Have dinner.
Go to sleep.

Return Journey
Use α to reached back to Xd

# Result lists:
L1: List Countries to travel
[Germany, Poland]

L2: List cities of Germany along Poland border
[Frankfurt(oder), Guben, Forst(Lausitz), Klein Bademeusel, Pomellen]

L3: List cities of Poland cities German border
[Olszyna, Kolbaskowo]

L4: List cites of Poland which have historical importance and has monuments
[Glogow, Lubin, Legnica, Wroclaw, Katowice, Krakow, Kielce, Warsaw, Lodz, Poznan, Szczecin, Torun]

L6: List High Ways in Poland
[A1, A2, A4, A6]

L7: List cites within …..km from High Way A2
[Lodz, Konin, Poznan]

L8: List of cities within …..km from high way A4
[Legnica, Lubin, Glogow, Wroclaw, Katowice, Krakow]

No comments: