Comments (3)
Unfortunately some solvers may not support state dependent actions and sometimes even solvers that do support state-dependent actions need a list of all the actions. Therefore the best practice is to provide an actions function with an optional state argument
from quickpomdps.
I.e. something like
def actions(s=None):
if s is None:
return [-12,-10,-2,-1,0,1,2,10,12]
elif s > 0:
return [-12, -2, 0, 1, 10]
else:
return [-10, -1, 0, 2, 12]
from quickpomdps.
It worked. Thanks. Closing issue.
from quickpomdps.
Related Issues (9)
- support pyjulia 0.6 HOT 8
- Setup GH Actions for PyPi release
- Upgrade example to use POMDPTools
- Installing dependencies every time the package is loaded? HOT 4
- Switch to JuliaCall and JuliaPkg
- Unable to install quickpomdps with pip HOT 3
- Can't solve POMDPs described using QuickPOMDP() HOT 6
- Project.toml HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quickpomdps.