GithubHelp home page GithubHelp logo

smart-m3project's Introduction

SMART-M3Project

This is a project for the Interoperability of Embedded System lab at the university of Bologna. In this project we used a Semantic Information Broker called OSGi_SIB v3.2, developed by ARCES. The SIB is a SPARQL endpoint built on top of an RDF triple-store. This publish-subscribe broker allows to:

• update the knowledge base (using SPARQL, RDF/XML or a triple-pattern based formalism, i.e. RDF-M3)

• query the knowledge base (through SPARQL or RDF-M3)

• subscribe to user-defined subgraphs (through SPARQL or RDF-M3)

Jar folder contains two different .jar one for Windows and one for Linux. In oder to execute this application you should have OSGi_SIB and run the SIB:

1) run the SIB:

      java -jar org.eclipse.osgi*.jar
 
2) Move into the jar directory:
    cd ./jar 

3) execute the main program:
        java -jar Bologna-BusSimulator.jar

Instead of Bologna-BusSimulator.jar use Bologna-BusSimulator_Windows.jar (if running on Windows), or Bologna-BusSimulator_Linux.jar (if running on Linux).

In order to compile this application you should have project imported in Eclipse. Than export like a Runnable Jar as showed in picture.

The main idea of this project is to simulate several bus rides in the city of Bologna and to provide statistics at the end of the simulation. When the application starts, you can set some parameters, like which bus simulate (actually there are three option), number of days to simulate, number of rides for each bus, ticket price for a single ride etc..

Once the application is started, you should see a map with the selected bus. Each bus is represented by a particular marker; also each bus stop is marked.

At the end of the simulation some statistics are provided, for example:

• Segment (path between two consecutive bus stops) with more people

• Line with the maximum number of fines

• Balance for each bus line (could be positive or negative, it depends on the number of ticket sold, the number of ticket inspector, and the number of fines).

Here you can find a video with a little demonstration.

Here the Italian presentation used for the project.

SMART-M3Project uses JxMaps https://www.teamdev.com/jxmaps, which is a proprietary software. The use of JxMaps is governed by JxMaps Product Licence Agreement https://www.teamdev.com/jxmaps/licence-agreement. If you would like to use JxMaps in your development, please contact TeamDev.

smart-m3project's People

Contributors

nicioniz avatar adricarda avatar lpizzigati avatar gabri1495 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.