Skip to content
/ popgen Public

Methods for deordering and reordering partial order plans.

License

Notifications You must be signed in to change notification settings

QuMuLab/popgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POPGEN

Methods for deordering and reordering partial order plans.

Disclaimer

This code is from half-a-decade ago, and is in need of some serious updating. This will likely come in the form of a rewrite using libraries such as [bauhaus], but until that time please be aware that things may no longer be working with modern libraries.

Usage

# Encode a given problem+plan into a MaxSAT instance
$ python popgen/encoder.py --domain d.pddl --problem p.pddl --plan p.plan --output out.wcnf

# Solve the MaxSAT instance
$ rc2.py -vv out.wcnf > out.sol

# Decode the solution back into a plan
$ python popgen/analyzer.py --map out.wcnf.map --rc2out out.sol --print-solution --show-popstats --count-linearizations --dot plan.dot

Requirements

Citing This Work

@article{jair-popgen,
  author    = {Christian Muise and J. Christopher Beck and Sheila A. McIlraith},
  title     = {Optimal Partial-Order Plan Relaxation via MaxSAT},
  journal   = {Journal of Artificial Intelligence Research},
  year      = {2016},
  url       = {http://www.jair.org/media/5128/live-5128-9534-jair.pdf}
}

About

Methods for deordering and reordering partial order plans.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages