Building a Public

appliancepartΤεχνίτη Νοημοσύνη και Ρομποτική

19 Οκτ 2013 (πριν από 4 χρόνια και 20 μέρες)

100 εμφανίσεις

Building a
Public

Transportation

System

Product Line

Omar T. Jaradat, Augustin Petrović

&
Manish Kungwani

1

DSD PTS Team

University of Zagreb, Croatia

Faculty of Electrical
Engineering


and
Computing

Augustin
Petrović (CROATIA)

Manish Kungwani (INDIA)


Pratik Bapurao Barkade (INDIA
)

Mälardalen University, Sweden

Department of Computer Science and
Electronics

Severine Sentilles (FRANCE)

Omar Tawffeeq Jaradat (JORDAN)

Uma
Shankar Subramani (INDIA)

Hafiz Umer Waqar (PAKISTAN
)

Siva Chaitanya Nayak Eslavath (INDIA
)

Project
supervisor

2


VIDEO

3

Communication structure

4

We aimed to with


Software
Product Lin
e (SPL)


Domain: Public Transportation Systems


Umple
modeling
language


Develop three SPL instances

5

PTS common elements

Stops

Lines

Runs

Timetables

Schedules

Vehicles

6

Public Transportation System PL

Requirements

DOMAIN
ELEMENTS

Stops

Lines

Vehicles

Runs

OPERATION
ELEMENTS

Schedules

Timetables

PASSENGER
ASSISTANCE

Quickest
route
finding

Actual
timing

EMERGENCY
HANDLING

Vehicle
position
tracking

Rerouting

Arrival time
prediction

INSTANCE
REQUIREMENTS

Optional
instance
specific
features

Functional PL requirements

7

D
evelopment

Process


Model Driven
Development


Umple


Test Driven Development


Agile

UP” methodology


Incremental release
-
based
development

8

DESIGN
(or
redesign)
ARCHITECTURE

DESIGN
TESTS

MATERIALIZE

DESIGN

IN UMPLE

GENERATE
CODE

TEST

DEVELOP
INSTANCES

REL
E
ASE

UMPLE

DEFINE
REQUIREMENTS

ASSIGN
REQUIREMENTS
TO ITERATIONS

D
evelopment

Process

9


Core Entities and Repositories


Schedule Management


Vehicle management


Passenger Assistance


Arrival Time Prediction


Quickest Route Fiding


Data Access Layer


Emergency Handling support

Product Line Core

10

Instance architecture

11

Public Transportation System Product Line

Product Line Core

PTS on CLOUD


.
jar
” to

.dll”

Amazing PTS instance

Väster
å
s
PTS

12

Lausanne PTS



aka Amazing PTS instance


Based on a real city

-

Lausanne


A
ll features derive from
the Product
Line

PLC


Administrative Desktop A
pplication


13

14

Västerås PTS


Based on



Västerås


Only Core features


Desktop A
pplication


Uses its own DAL


MS SQL Server

15

16

PTS
on

CLOUD


Based on a real city



Lausanne


Passenger Assistance features


Consumer End Web Application


Java + .NET interoperability



LIVE ON THE WEB


Windows Azure

17

18

Technical issues


Missing features in Umple

(under development)


Class
abstraction


Generics


No Multiple Interface Implementation


Exception Handling


Oracle database

server

crashed


Inaccessible Real
-
Time data for Neural
Networks learning

19

D
ecisions

and
S
olutions


Code generation from
model


Implemented the following design patterns:


Factory Pattern


Repository Pattern


Singleton Pattern


Observer
Pattern

20

Some more issues


Some
ill
-
performing team
members


Language semantics


Cultural misunderstandings

21

Results


Complete Umple model as

Product Line Core


Developed 3 working instances


Extended the requirements from
Customer


Neural Network for Arrival Time Prediction


Quickest
route finding

22

Experience


Distributed work environment


Product Line development


Acquired modeling and language skills


Friends and a life experience

23

Special Thanks to…

Timothy
C.
Lethbridge

(SCORE)

Ivica Crnković (MdH)

Mario Žagar (FER)

Aneta Vulgarakis (MdH)

Séverine Sentilles (MdH)

Igor Čavrak (FER)

Marin Orlić (FER)

Ivana Bosnić (FER)


Dominik
Pavlović

Vice Šimunov

Jure Rastić

Shruti

Johari

Ivan Petković

For all the

HELP

and

GUIDANCE



24

Thank You



Što?


Was?