Presentation is loading. Please wait.

Presentation is loading. Please wait.

PROGRAMMING LANGUAGE CREATION FOR CONTROLING INTERNAL TRANSPORT DEVICES Józef Okulewicz Warsaw University of Technology, Faculty of Transport Telematyka,

Similar presentations


Presentation on theme: "PROGRAMMING LANGUAGE CREATION FOR CONTROLING INTERNAL TRANSPORT DEVICES Józef Okulewicz Warsaw University of Technology, Faculty of Transport Telematyka,"— Presentation transcript:

1 PROGRAMMING LANGUAGE CREATION FOR CONTROLING INTERNAL TRANSPORT DEVICES Józef Okulewicz Warsaw University of Technology, Faculty of Transport Telematyka, 2007

2 HISTORY OF PROGRAMMING LANGUAGES 2004 FORTRAN X 1954

3 Eric Levenez, July FORTRAN X

4 John Backus is the father of Fortran, the language that froze computer architectures to this day. But he wrote in 1981: „While it is perhaps natural and inevitable that languages like Fortran and its successors should have developed out of the concept of the von Neumann computer as they did, the fact that such languages have dominated our thinking for twenty years is unfortunate. … because their long-standing familiarity will make it hard for us to understand and adopt new programming styles which one day will offer far greater intellectual and computational power.” Richard P. Gabriel, Guy L. Steele Jr. : What Computers Can’t Do (And Why), Lisp and Symbolic Computation (LASC), vol. 1, n

5 A Boolean algebra is also called a Boolean lattice. The connection to lattices (special partially ordered sets) is suggested by the parallel between set inclusion, A ⊆ B, and ordering, a ≤ b. Consider the lattice of all subsets of {x,y,z}, ordered by set inclusion. This Boolean lattice is a partially ordered set in which, say, {x} ≤ {x,y}. Any two lattice elements, say p = {x,y} and q = {y,z}, have a least upper bound, here {x,y,z}, and a greatest lower bound, here {y}. Suggestively, the least upper bound (or join or supremum) is denoted by the same symbol as logical OR, p ∨ q; and the greatest lower bound (or meet or infimum) is denoted by same symbol as logical AND, p ∧ q.latticespartially ordered setsinclusionordering WIKIPEDIA

6 spacetime accessibility SYSTEM NOTIONS STRUCTURE   LOGICAL LATICE OF 2 VARIABLES

7 LOGICAL LATICE OF 3 VARIABLES

8 space aim time transparency accessibility connectivity integrity SYSTEM NOTIONS STRUCTURE

9        v* q* ::= transparency accessibility connectivity ” for ” # nil ” if ” nil  ” go ”

10 STRUCTURE OF THE TRANSPORT SYSTEM program instructions objects generating priority object conveyor segment segment controling

11 @w v2 v1 #z1 +20  v2 #z1 v1 v2  v2 v1 #z1 +20 v1 v2 v1 #z1 +50 #w1  #z1/0.1;z2/0.4;z3 +R(40,120) #w2  #z1/0.1;z2/0.5;z3 +R(60,140) #w3  #z1/0.1;z2/0.6;z3 +E(100) PROGRAM LINEAR STRUCTURE v1 v2 v1 #z1       v2 v1 #z1 +20  v2 v2 v1 #z1 v2 v1 #z1

12  #w1  #z1/0.1;z2/0.4;z3 +R(40,120) v1 v2 v1 #z1    #z3 v2 v1 #z1 +10  #w2  #z1/0.1;z2/0.5;z3 +R(60,140)   #z3   #w3  #z1/0.1;z2/0.6;z3 +E(100)  #z3  v2 v1 #z1  #z1  v2 v1 #z1 v1 #z1 v2 v1 #z1  #z1  v2 #z1 v2 v1 #z1 +50 v2 #z1 v2 v1 #z1 v1 v2 #z1   ► INSTRUCTION ASSIGNMENT TO CONVEYOR SECTIONS


Download ppt "PROGRAMMING LANGUAGE CREATION FOR CONTROLING INTERNAL TRANSPORT DEVICES Józef Okulewicz Warsaw University of Technology, Faculty of Transport Telematyka,"

Similar presentations


Ads by Google