-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add Parasim #2
Comments
Wrapper will be added in #6, however without
and required a small yet quite significant change in the source code. With this change, a new binaries were build and these were called instead when the parameter was set to --- a/extensions/computation-density-impl/src/main/java/org/sybila/parasim/computation/density/spawn/cpu/FractionTrajectorySpawner.java
+++ b/extensions/computation-density-impl/src/main/java/org/sybila/parasim/computation/density/spawn/cpu/FractionTrajectorySpawner.java
@@ -76,7 +76,7 @@ public class FractionTrajectorySpawner implements TrajectorySpawner {
TrajectoryWithNeighborhood trajectory = trajectories.getTrajectory(i);
for (int n = 0; n < trajectory.getNeighbors().size(); n++) {
// check distance
- if (!trajectories.getDistance(i, n).isValid()) {
+ //if (!trajectories.getDistance(i, n).isValid()) {
Trajectory neighbor = trajectory.getNeighbors().getTrajectory(n);
TrajectoryWithNeighborhood newTrajectory = spawn(configuration, trajectory.getReference().getTrajectory(), neighbor.getReference().getTrajectory(), trajectories.getDistance(i, n), dimensionsToSkip, logInformation);
if (newTrajectory == null) {
@@ -87,7 +87,7 @@ public class FractionTrajectorySpawner implements TrajectorySpawner {
newSecondaryTrajectories.put(key, neigh);
}
newTrajectories.add(newTrajectory);
- }
+ //}
}
} |
Draft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implement wrapper for Parasim tool.
The text was updated successfully, but these errors were encountered: