jdherman / ptreeopt

Policy tree optimization: Heuristic policy search for control of dynamic systems. Uses genetic programming to develop binary trees relating observed indicator variables to actions, either real-valued or discrete.
http://www.sciencedirect.com/science/article/pii/S1364815217306540
MIT License
32 stars 7 forks source link

autopep8 related changes #3

Closed quaquel closed 6 years ago

quaquel commented 6 years ago

I ran autopep8 to clean up the code. I might do some work on the plane to make all code fit into 79 characters.

jdherman commented 6 years ago

Haha, you don't waste any time!! Thanks @quaquel

A couple of questions/comments:

That's all, then we can merge. Thanks again!

quaquel commented 6 years ago

I have updated gitignore and removed the eclipse files. I made some more layout changes related to pep8. The example still runs fine.

pep8 specifies 4 spaces: https://www.python.org/dev/peps/pep-0008/#indentation. Line length should be 79 for code and 72 for docstrings. This I stick to less closely.

jdherman commented 6 years ago

Ok let's do it. Thanks!