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

More reductions for simplify #35

Open
deontologician opened this issue Feb 11, 2015 · 0 comments
Open

More reductions for simplify #35

deontologician opened this issue Feb 11, 2015 · 0 comments
Labels
infrastructure Related to how the simulation is executed, not the game itself. performance Performance related features

Comments

@deontologician
Copy link
Owner

  • If the affirmed/denied branches are equal, then Always(action)
  • simplify_action should convert Subcondition(Always(X)) ->X
  • Some simple comparisons to static properties of a creature could be analyzed with data from the creature:
    • generation is static per creature
  • If the last action is inside a cycle and is known statically, then if the next action does an actioncompare, we know it statically
  • If a creature checks what his signal is, and he has no actions that change his signal, we know the outcome statically.
@deontologician deontologician added performance Performance related features infrastructure Related to how the simulation is executed, not the game itself. labels Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Related to how the simulation is executed, not the game itself. performance Performance related features
Projects
None yet
Development

No branches or pull requests

1 participant