Giter VIP home page Giter VIP logo

boolnetcontroller's Introduction

Boolean Network Behavioural (re)Differentiation

Master Thesis in Intelligent Robotic System for Computer Science and Engineering Master Course -- Alma Mater Studiorum

Abstract

The design of control software for robots that are required to face different and unpredictable environmental conditions is of paramount importance in current robotic research. A viable solution to attain such a control software consists in exploiting the rich dynamics of biological cell models; indeed, cells are capable of differentiating into specific types, each characterized by peculiar behavioural traits suited to the particular environmental condition in which the cell acts. Moreover,if properly triggered, cells can also undergo type changes. Inspired by this phenomenon, in this work we have devised a method to support the automatic design of robots controlled by Boolean networks (BNs), which are a notable model of genetic regulatory networks. The initial behaviour of the robot is not specific, i.e. its BN is in an undifferentiated state. When specific environmental conditions appear, the BN changes its dynamics that in turn induces a specific behaviour in the robot. If, subsequently, the environmental signals change, the robot is able to return to the initial, undifferentiated behaviour and then differentiate again into a different behaviour, according to the external signals. This method is shown in detail, along with a thorough experimental analysis, in a case study involving taxis behaviours.

Install

Requires Python (3.7), R (3.6) with this https://github.com/mbraccini/diffeRenTES library (recursively follow required libraries), and Webots 2019a v1+.

Run "python setup.py"

Usage

  • gbehaviour.py -- generates a new behavioural bn based on the given parameters (configuration file)

  • gselector.py -- generates a new selective bn based on the given parameters (configuration file)

To know what a config file options are run "python bncontroller/sim/config.py". This will generate a "blank" config file with placeholder options to fill. The file is generated in the current working directory.

  • generate_n.py -- generates N networks (which type you choose, by expressing the core function in config file) saving their ebnf repr and ATM (csv) on files.

  • sbnstats.py -- Random space exploration of selective networks

  • check_constr.py -- Check constraints on generated networks

  • rtest.py -- Test single behavioural networks or complete controllers (sbn + M * bbn) or whatever else you want since custom code can be injected.

  • webots.py -- Run a chosen controller on Webots

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.