Git Product home page Git Product logo

gips-examples's Introduction

GIPS Examples

GIPS is an open-source framework for Graph-Based ILP Problem Specification. This repository holds some GIPS example projects.

Setup

  • Install GIPS as described in its repository.
  • Launch a runtime workspace (while using a runtime Eclipse) as stated in the eMoflon::IBeX installation steps. (Please refer to the installation steps of GIPS above.)
  • Use this PSF file to import all gips-example-related projects.
  • Build all your projects with the black eMoflon hammer. Sometimes, it is required to trigger a cleaning in Eclipse (Project -> Clean... -> Clean all projects).
  • You can now launch a GIPS project like org.emoflon.gips.gipsl.examples.mdvne:
    • Go to org.emoflon.gips.gipsl.examples.mdvne -> src-gen -> org.emoflon.gips.gipsl.examples.mdvne.api.gips in the project explorer.
    • Launch MdvneLauncher.launch with a right click -> Run As -> MdvneLauncher.
    • Please keep in mind that not every project contains a .launch file.
  • Some of the examples have a runnable Java class with a main function.

Example Overview

Name Description
classdiagram* Example GIPS-based solution of the TGG 3.0 prototype implementation (classes)
org.emoflon.gips.gipsl.examples.headlessrunner.* Example on how to build and use a GIPS project headlessly - export it to JAR and run it
org.emoflon.gips.gipsl.examples.helloworld Very simple hello world example for the GIPS language - can not be executed
org.emoflon.gips.gipsl.examples.mdvne.* Model-driven Virtual Network Embedding example with and without migration functionality
network.model Network (meta)model with converters and a manipulator for the MdVNE example
org.emoflon.gips.gipsl.examples.sdr.* Software-Defined Radio task scheduling on CPUs
PersonTaskAssignments/PTA* Person-to-Task Assignments for construction purposes
refactoringsoftwaresystemtgg3/SoftwareSystem Example GIPS-based solution of the TGG 3.0 prototype implementation (software system)

For more projects, refer to the GIPS test repository.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for more details.

gips-examples's People

Contributors

arg0n1s avatar maxkratz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

marcovolle

gips-examples's Issues

MdVNE: Affected paths can lead to invalid embeddings

In some rare cases, the GIPS-based MdVNE algorithms can produce invalid embeddings of virtual networks onto substrate paths.

The edge case is:

  • one virtual link vl1 gets mapped to a substrate path sp1 that consists of one (or more) substrate link(s) sl1.
  • if another virtual link vl2 gets mapped to another substrate path sp2 that also (partly) consists of the substrate link sl1, its residual bandwidth value may be exceeded.

A test that sometimes shows this behavior is this test of the GIPS-based migration MdVNE algorithm: https://github.com/Echtzeitsysteme/iflye/blob/main/test.suite/src/test/algorithms/pm/migration/VnePmMdvneAlgorithmMigrationPathBandwidthBugTest.java

The more virtual networks one embeds at a time, the higher the probability to see triggering this error.

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.