Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
V
vadere
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
110
Issues
110
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
3
Merge Requests
3
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vadere
vadere
Commits
0b345001
Commit
0b345001
authored
Dec 16, 2016
by
hm-seitz4
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated constructor in OptimalStepsModel.
parent
9ad2f983
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
VadereSimulator/src/org/vadere/simulator/models/osm/OptimalStepsModel.java
...rc/org/vadere/simulator/models/osm/OptimalStepsModel.java
+0
-34
No files found.
VadereSimulator/src/org/vadere/simulator/models/osm/OptimalStepsModel.java
View file @
0b345001
...
...
@@ -78,40 +78,6 @@ public class OptimalStepsModel implements MainModel, PotentialFieldModel {
private
ExecutorService
executorService
;
private
List
<
Model
>
models
=
new
LinkedList
<>();
@Deprecated
public
OptimalStepsModel
(
final
Topography
topography
,
final
AttributesOSM
attributes
,
final
AttributesAgent
attributesPedestrian
,
final
PotentialFieldTarget
potentialFieldTarget
,
final
PotentialFieldObstacle
potentialFieldObstacle
,
final
PotentialFieldAgent
potentialFieldPedestrian
,
final
List
<
SpeedAdjuster
>
speedAdjusters
,
final
StepCircleOptimizer
stepCircleOptimizer
,
Random
random
)
{
this
.
attributesOSM
=
attributes
;
this
.
attributesPedestrian
=
attributesPedestrian
;
this
.
topography
=
topography
;
this
.
random
=
random
;
this
.
potentialFieldTarget
=
potentialFieldTarget
;
this
.
potentialFieldObstacle
=
potentialFieldObstacle
;
this
.
potentialFieldPedestrian
=
potentialFieldPedestrian
;
this
.
stepCircleOptimizer
=
stepCircleOptimizer
;
this
.
pedestrianIdCounter
=
0
;
this
.
speedAdjusters
=
speedAdjusters
;
if
(
attributesOSM
.
getUpdateType
()
==
UpdateType
.
EVENT_DRIVEN
)
{
this
.
pedestrianEventsQueue
=
new
PriorityQueue
<>(
100
,
new
ComparatorPedestrianOSM
());
}
else
{
// not needed and should not be used in this case
this
.
pedestrianEventsQueue
=
null
;
}
if
(
attributesOSM
.
getUpdateType
()
==
UpdateType
.
PARALLEL
)
{
this
.
executorService
=
Executors
.
newFixedThreadPool
(
8
);
}
else
{
this
.
executorService
=
null
;
}
}
public
OptimalStepsModel
()
{
this
.
pedestrianIdCounter
=
0
;
this
.
speedAdjusters
=
new
LinkedList
<>();
...
...
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