Giter Site home page Giter Site logo

behavior-engine's People

Contributors

pkok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

peryb88

behavior-engine's Issues

Visualisation does not update when range or utility score is adjusted

As of now, when the range or utility score of a consideration are adjusted the plot (and nodes) stay the same. When the downloading and then uploading the Rules, the nodes are drawn using the old range and or utility score.

Suggestion: always draw vis. in range 0-1 for x and y and only use the utility score and range when downloading/uploading the rules.

Firefox, 47, Ubuntu 14.04, favorite color: blue

Code highlighting in action in Decision

Currently there is no code highlighting in the <textarea>, but putting in C++ code without highlighting is tedious to read. If possible, also add line numbers(soft wrap is hard to distinguish)

spline_designer.html doesn't work in Chrome b/c no 'storage' events?

behavior_designer.html and spline_designer.html communicate with each other through the window.sessionStorage object. According to the Web Storage API, this should raise a 'storage' event in the Window. This all works nicely in Firefox (tested v.47 on Ubuntu 14.04), but on Chrome (tested chromium 50.0.2661.02 on Ubuntu 14.04) I don't find any 'storage' events.

Proposed solution: raise custom events.

Let `DecisionEngine::getBestDecision` return a reference to the Decision in `DecisionEngine::rules`

Actions might want to change properties from a Decision, for instance its utility. This should be reflected in both the active_rules and rules instance of this Decision, as well as trigger the sorting of active_rules.

There are two decision that could be made:

  • Allow a Decision::action to do this, and find a way to trigger this sorting. You should not rely on a Decision to do this, as it might break DecisionEngine::getBestDecision.
  • Do not allow a Decision::action to do this, as it results in simpler code.

This needs more thought.

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.