Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs + Examples #5

Open
10 of 27 tasks
khosravipasha opened this issue Apr 6, 2020 · 4 comments
Open
10 of 27 tasks

Docs + Examples #5

khosravipasha opened this issue Apr 6, 2020 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@khosravipasha
Copy link
Collaborator

khosravipasha commented Apr 6, 2020

  • Properties:

    • Structured Decomposable (+vtree)
    • Decomposable
    • Deterministic
    • is_smooth
  • Transformations

    • forget
    • Smooth a circuit
    • Condition a circuit
    • Split and Clone
  • Queries

    • Evaluate
    • Model Counting
    • Equivalence Checking
    • Probabilistic Eq checking
  • Compilation

    • Describe what compilation is and why its needed
    • Add examples in the docs/notebooks.
  • Data Stuctures details related

    • Describe the type system breifly
    • Desribe how foldup and the travesing works
    • Describe BitCircuits
    • SDD vs other types of circuit
  • Misc

  • Benchmarks

@khosravipasha khosravipasha self-assigned this Apr 6, 2020
@khosravipasha
Copy link
Collaborator Author

In the docs, add links to other related libaries:

@RenatoGeh
Copy link
Contributor

Not sure if relevant to this issue exactly, but one thing that might be helpful for end-users (it would be helpful to me at least) would be to explicitly state the return types of functions (as well as arguments). I often find myself having to look at the code to know exactly what do I have to pass as arguments/receive as returns. Ideally documentation should be more than enough for end-users. Plus the compiler probably could use some type hinting to speed things up. Not sure how you guys feel about this? I'm willing to do this boring refactoring and explicitly write argument and return types.

@guyvdbroeck
Copy link
Contributor

I'm certainly in favor, especially in the documentation strings.

@khosravipasha
Copy link
Collaborator Author

Yeah this is very nice to have.

On the documentation side, I initially thought there would be an option in documenter.jl to generate the signitures automatically, but last time I checked seems to be no option for it. I guess easiest option for now is too add them manually in the comments.

I think we have return types set for most functions, it's just they are not being added to the docs by documenter.

We can slowly start adding them, for example any time we modify something we add this type of info to the doc string. I will check to see whats a consistent way to add them nicely in the doc string. I think you can just copy paste the function signitures and add it in the comments as code.

@khosravipasha khosravipasha added the documentation Improvements or additions to documentation label Jul 26, 2020
@khosravipasha khosravipasha added enhancement New feature or request help wanted Extra attention is needed labels Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants