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

tests/models/Predator-Prey: Use attractor/repeller forces to select the next move #2121

Merged
merged 2 commits into from
Sep 22, 2021

Conversation

jvesely
Copy link
Collaborator

@jvesely jvesely commented Sep 14, 2021

Needs custom UDF to calculate the weighted move.
This also introduces new nodes to handle inputs, and a node to calculate the direction from real player to prey.
Add support for np.sqrt to the UDF compiler.

@jvesely jvesely added the compiler Runtime Compiler label Sep 14, 2021
@jvesely jvesely requested a review from jdcpni September 14, 2021 18:27
@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

…he next move

Compare the move based on observations with the real bearing from player to prey.
Signed-off-by: Jan Vesely <[email protected]>
@github-actions
Copy link

This PR causes the following changes to the html docs (ubuntu-latest-3.7-x64):

No differences!

...

See CI logs for the full diff.

@jvesely jvesely changed the title tests/models/Predator-Prey: Use attractor/repeller forces to pick the next move tests/models/Predator-Prey: Use attractor/repeller forces to select the next move Sep 22, 2021
@jvesely jvesely merged commit d3741b2 into PrincetonUniversity:devel Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Runtime Compiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant