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
JPScore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
92
Issues
92
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
JuPedSim
JPScore
Commits
3e8d5c02
Commit
3e8d5c02
authored
Apr 30, 2018
by
Mohcine Chraibi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runcomment debug messages
parent
789adbe4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
voronoi-boost/VoronoiPositionGenerator.cpp
voronoi-boost/VoronoiPositionGenerator.cpp
+0
-7
No files found.
voronoi-boost/VoronoiPositionGenerator.cpp
View file @
3e8d5c02
...
...
@@ -215,8 +215,6 @@ bool ComputeBestPositionVoronoiBoost(AgentsSource* src, std::vector<Pedestrian*>
Point
pos
(
chosen_it
->
x
()
/
factor
,
chosen_it
->
y
()
/
factor
);
//check!
ped
->
SetPos
(
pos
,
true
);
VoronoiAdjustVelocityNeighbour
(
chosen_it
,
ped
,
velocities_vector
,
goal_vector
);
std
::
cout
<<
">> Chosen Pos: "
<<
pos
.
_x
<<
", "
<<
pos
.
_y
<<
std
::
endl
;
// proceed to the next pedestrian
existing_peds
.
push_back
(
ped
);
++
iter_ped
;
...
...
@@ -371,8 +369,6 @@ void VoronoiAdjustVelocityNeighbour(voronoi_diagram<double>::const_vertex_iterat
void
VoronoiBestVertexRandMax
(
const
std
::
vector
<
Point
>&
discrete_positions
,
const
voronoi_diagram
<
double
>&
vd
,
SubRoom
*
subroom
,
double
factor
,
voronoi_diagram
<
double
>::
const_vertex_iterator
&
chosen_it
,
double
&
dis
,
double
radius
)
{
std
::
cout
<<
"Enter VoronoiBestVertexRandMax
\n
"
;
std
::
vector
<
voronoi_diagram
<
double
>::
const_vertex_iterator
>
possible_vertices
;
vector
<
double
>
partial_sums
;
unsigned
long
size
=
0
;
...
...
@@ -422,9 +418,6 @@ void VoronoiBestVertexRandMax (const std::vector<Point>& discrete_positions, con
dis
=
partial_sums
[
iposition
];
if
(
iposition
>
1
)
dis
-=
partial_sums
[
iposition
-
1
];
std
::
cout
<<
"Leave VoronoiBestVertexRandMax
\n
"
;
}
...
...
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