Giter VIP home page Giter VIP logo

beecs's Introduction

beecs

Test status Go Report Card Go Reference GitHub

Work-in-progress re-implementation of the BEEHAVE model in Go using the Arche Entity Component System (ECS).

All the hard work to develop, parameterize and validate the original BEEHAVE model was done by Dr. Matthias Becher and co-workers. I was not involved in that development in any way, and just re-implement the model following its ODD Protocol and the NetLogo code.

Beecs is currently at a state where it implements BEEHAVE's basic colony and foraging models. Colony dynamics already mimic BEEHAVE quite well, but there are still differences that need to be addressed. See the tests.

Usage

Command line app

A command line interface for beecs is provided in beecs-cli. It also supports basic visualizations. See there for details.

Graphical user interface

A graphical user interface for beecs is provided in beecs-ui. It features configurable visualizations and parameter manipulation in a single window or in a web browser.

Library

To add beecs as a dependency to an existing Go project, run this in the project's root folder:

go get github.com/mlange-42/beecs

Usage examples can be found in folder _examples.

Exploring the model

To explore the model code, start with reading files model/default.go and params/default.go. Given that the model is developed with ECS, the structure should be quite obvious.

  • comp contains all components.
  • sys contains all systems.
  • params contains model parameters (as ECS resources).
  • globals contains global variables (as ECS resources).

Also check out the examples.

beecs's People

Contributors

mlange-42 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.