wuga214 / PULLREQUEST_rddlsim

Automatically exported from code.google.com/p/rddlsim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RDDL In My Research

Progress

  1. Data Extraction from RDDL is functional(Done)
  2. Domain Reservoir description(Done)
  3. Policy for Reservoir(Done)
  4. Domain Determinization(Done)
  5. store PVAR+TERM to output file(Done)
  6. Bug free testing(Done)
  7. Domain Inventory description(Done)
  8. Policy for Inventory(Done)

TODO

  1. Domain Description for power gen(If necessary)

New folder to accept data and label output for Neural Network training.

About RDDL

This repository is used to do my research and also improve original rddl environment. If you are looking for using rddl please look at and cite its original repository:

https://github.com/ssanner/rddlsim

RDDL Interface Improvement

Updated parameter handling

Note: Anytime running code without proper parameters, a helper message will show.

Mac-mini:rddlsim Wuga$ ./run rddl.viz.RDDL2Graph

*********************************************************
>>> Parameter Description
*********************************************************
[1]: -R: RDDL file or directory that contains RDDL file
[2]: -P: Policy name e.g. rddl.policy.RandomBoolPolicy
[3]: -D: Directed, 'true' or 'false'
[4]: -L: Strict-levels, 'true' or 'false'
[5]: -G: Strict-grouping, 'true' or 'false'
*********************************************************

Examples

Simulator and DomainExplorer

  1. ./run rddl.sim.Simulator -R files/Reservoir/Reservoir_det.rddl -P rddl.policy.domain.reservoir.StochasticReservoirPolicy -I is1 -V rddl.viz.GenericScreenDisplay
  2. ./run rddl.sim.DomainExplorer -R files/Reservoir/Reservoir_det.rddl -P rddl.policy.domain.reservoir.StochasticReservoirPolicy -I is1 -V rddl.viz.ValueVectorDisplay -K 100 -D nn/Reservoir_Data.txt -L nn/Reservoir_Label.txt
  3. ./run rddl.sim.Simulator -R files/HVAC/RTC_CAV.rddl2 -P rddl.policy.RandomConcurrentPolicy -I inst_rtc_cav -V rddl.viz.RTCDisplay

RDDL to Bayesian Net Graph

  1. ./run rddl.viz.RDDL2Graph -R files/Reservoir/Reservoir_det.rddl -I is1
  2. ./run rddl.viz.RDDL2Graph -R files/rddl/examples/dbn_prop.rddl -I inst_dbn

Added Functions

  1. State.getPossibleTerms(...): Used to find most possible terms given partial fluents known or true value known.
  2. Help class: Used to store all command helping information. This will be extended to give instruction for public interfaces later.
  3. DotFileFixer: Used to fix *.dot files so that old package like grappa can work with new version of Graphviz
  4. ArgsParser: Used to accept main function arguments, this class can make sure the parameters read in doesn't depend on their order.

RDDL Error Fixing

  1. Fixed a bug that cause Bayesian Network Graph couldn't be properly shown in Java.
  2. Modified run to accept more than 13 parameters

About

Automatically exported from code.google.com/p/rddlsim

License:Other


Languages

Language:Java 94.7%Language:Shell 3.1%Language:C++ 1.3%Language:Lex 0.3%Language:Makefile 0.3%Language:NewLisp 0.1%Language:Batchfile 0.1%Language:TeX 0.0%