pkok / behavior-engine Goto Github PK
View Code? Open in Web Editor NEWC++ behavior engine based on the Infinite Axis Utility System of Guild Wars 2
License: Apache License 2.0
C++ behavior engine based on the Infinite Axis Utility System of Guild Wars 2
License: Apache License 2.0
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)
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
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.
Having no description for a consideration causes the following visual bug:
image
Same behavior happens to decision without names.
warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wconversion]
firefox, 47, ubunut 14.04, turtles.
You can add new points to the spline which lay "outside" the line though, but this shouldn't happen.
Firefox, 47, Ubuntu 14.04
Spamming delete, while a node is selected does not do anything, both wile in focus or not.
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:
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
.Decision::action
to do this, as it results in simpler code.This needs more thought.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.