Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gs-boids
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
graphstream
gs-boids
Commits
3481e169
Commit
3481e169
authored
Apr 24, 2012
by
Guilhem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment output
parent
82cd829b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/org/graphstream/boids/BoidSpecies.java
src/org/graphstream/boids/BoidSpecies.java
+1
-1
src/org/graphstream/boids/DemographicManager.java
src/org/graphstream/boids/DemographicManager.java
+2
-2
No files found.
src/org/graphstream/boids/BoidSpecies.java
View file @
3481e169
...
...
@@ -335,7 +335,7 @@ public class BoidSpecies implements Iterable<Boid> {
* @param time The current boid graph time.
*/
public
void
terminateStep
(
double
time
)
{
System
.
err
.
printf
(
"## pop for %s%n"
,
getName
());
//
System.err.printf("## pop for %s%n", getName());
pop
.
step
(
time
);
}
...
...
src/org/graphstream/boids/DemographicManager.java
View file @
3481e169
...
...
@@ -154,7 +154,7 @@ public class DemographicManager implements BoidGraphListener {
b
=
futureParents
.
poll
();
String
id
=
b
.
getSpecies
().
createNewId
();
System
.
err
.
printf
(
" -> adding boid %s%n"
,
id
);
//
System.err.printf(" -> adding boid %s%n", id);
ctx
.
addNode
(
id
);
// ctx.addBoid(b.getSpecies(), b.getPosition().x, b.getPosition().y, b
// .getPosition().z);
...
...
@@ -181,7 +181,7 @@ System.err.printf(" -> adding boid %s%n", id);
}
}
System
.
err
.
printf
(
"Preparing to remove %d boids and add %d boids.%n"
,
toRemove
.
size
(),
futureParents
.
size
());
//
System.err.printf("Preparing to remove %d boids and add %d boids.%n", toRemove.size(), futureParents.size());
makeLove
();
killAll
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment